on 02-22-2010 6:01 AM
Hi All,
We have a requirement to develop an application which should populate table view dynamically with editable UI elements for the selected record and the other records should in viewable. Could you please guide me how to do the tale cell rendering in a table dynamically. I have used the below code but it is not working for me, please provide any suggestions to do any changes for the below code
IWDTableStandardCell sCell = (IWDTableStandardCell) view.createElement(IWDTableStandardCell.class, null);
sCell.setVariantKey("key");
IWDInputField inputeditor =(IWDInputField) view.createElement(
IWDInputField.class,null);
inputeditor.bindValue(attrInfo);
sCell.setEditor(inputeditor);
column.setSelectedCellVariant(IPrivateABCView.IUserTabDataElement.KEY);
column.addCellVariant(sCell);
Regards
Suresh
In the createElement method instead of null you should enter a string (this is the element unique id).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.