Hi all,
I would like to display a list grid where the user may click on an icon in a cell and cause the value to be fixed (see attached files to get an idea). Therefore I would like to have a cell widget like an IconButton inside a cell that is displayed besides the data of the cell (like dates, ints, checkboxes).
My current approach is to override the [http://www.smartclient.com/smartgwt/javadoc/com/smartgwt/client/widgets/grid/ListGrid.html#createRecordComponent%28com.smartgwt.client.widgets.grid.ListGridRecord,%20java.lang.Integer%29 createRecordComponent] on the list grid and create and return the Widget. The problem with this approach is that the Widget behaves like something that is on top of the data (see attachments).
Another problem is that the widget is still displayed when the cell is in edit mode.
Thank you for your help!
I would like to display a list grid where the user may click on an icon in a cell and cause the value to be fixed (see attached files to get an idea). Therefore I would like to have a cell widget like an IconButton inside a cell that is displayed besides the data of the cell (like dates, ints, checkboxes).
My current approach is to override the [http://www.smartclient.com/smartgwt/javadoc/com/smartgwt/client/widgets/grid/ListGrid.html#createRecordComponent%28com.smartgwt.client.widgets.grid.ListGridRecord,%20java.lang.Integer%29 createRecordComponent] on the list grid and create and return the Widget. The problem with this approach is that the Widget behaves like something that is on top of the data (see attachments).
Another problem is that the widget is still displayed when the cell is in edit mode.
Thank you for your help!