cancel
Showing results for 
Search instead for 
Did you mean: 

Table Cell Rendering dynamically

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

In the createElement method instead of null you should enter a string (this is the element unique id).

siarhei_pisarenka3
Active Contributor
0 Kudos

>In the createElement method instead of null you should enter a string (this is the element unique id).

NULLs are also allowed here.

BR, Siarhei

Former Member
0 Kudos

Hi,

Yeh you are correct, NULLs are also accepting. Could you please provide any solution for my requirement?

Regards

Suresh

siarhei_pisarenka3
Active Contributor
0 Kudos

Why is the code above not working?

Former Member
0 Kudos

Hi,

It is working but I want to render for the selected record, for others it should not come.

Regards

Suresh Bachimanchi