Hi,
I am using SmartGwtee v12.1p_2022-03-03. I have a ListGrid with expand rows and multiple selection using checkbox. Whenever a row of the ListGrid is expanded, it is automatically selected. I would like to know if there's a way to disable that auto-selection so that a row is selected only when the checkbox is clicked.
ListGrid appGrid = new ListGrid() {
@Override
protected Canvas getExpansionComponent(ListGridRecord record) {
Canvas canvas = super.getExpansionComponent(record);
canvas.setMargin(5);
return canvas;
}
};
appGrid.setWidth(600);
appGrid.setHeight(500);
appGrid.setSelectionAppearance(SelectionAppearance.CHECKBOX);
appGrid.setShowAllRecords(true);
appGrid.setCanExpandRecords(true);
Thank you & regards,
Hang
I am using SmartGwtee v12.1p_2022-03-03. I have a ListGrid with expand rows and multiple selection using checkbox. Whenever a row of the ListGrid is expanded, it is automatically selected. I would like to know if there's a way to disable that auto-selection so that a row is selected only when the checkbox is clicked.
ListGrid appGrid = new ListGrid() {
@Override
protected Canvas getExpansionComponent(ListGridRecord record) {
Canvas canvas = super.getExpansionComponent(record);
canvas.setMargin(5);
return canvas;
}
};
appGrid.setWidth(600);
appGrid.setHeight(500);
appGrid.setSelectionAppearance(SelectionAppearance.CHECKBOX);
appGrid.setShowAllRecords(true);
appGrid.setCanExpandRecords(true);
Thank you & regards,
Hang
Comment