Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Display cell widget side by side with standard cell contents

$
0
0
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!

Attached Images
File Type: png CellWigetOnTop-Displaying.png (3.3 KB)
File Type: png CellWigetOnTop-Editing.png (4.5 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles