Hi,
I have a ListGrid with createRecordComponent() overridden. I want it to render a column with components in the cells (obviously). But, both the normal cell contents and the component are showing up in the column (one overwriting the other).
The only way to stop this happening seems to be to set the ListGridField name to something other than the DataSourceField name, so that it does not show up natively. Then, I can grab the field contents via record.getAttribute() and display it in the component. However, this seems like a hack, and not best practice.
Is there something I have to set so I can avoid this workaround?
Thanks in advance
PS I am using SGWT 2.4 and GWT 2
I have a ListGrid with createRecordComponent() overridden. I want it to render a column with components in the cells (obviously). But, both the normal cell contents and the component are showing up in the column (one overwriting the other).
The only way to stop this happening seems to be to set the ListGridField name to something other than the DataSourceField name, so that it does not show up natively. Then, I can grab the field contents via record.getAttribute() and display it in the component. However, this seems like a hack, and not best practice.
Is there something I have to set so I can avoid this workaround?
Thanks in advance
PS I am using SGWT 2.4 and GWT 2
Comment