1. I add the selection update handler to the listgrid:
addSelectionUpdatedHandler(new SelectionUpdatedHandler() {
@Override
public void onSelectionUpdated(SelectionUpdatedEvent event) {
setSelectedRecords(getSelectedRecords());
}
});
2. When the only selected row is removed from the data source, the list grid is updated with no selection. However, the event is not triggered. The UI is not fully updated.
What can I do?
addSelectionUpdatedHandler(new SelectionUpdatedHandler() {
@Override
public void onSelectionUpdated(SelectionUpdatedEvent event) {
setSelectedRecords(getSelectedRecords());
}
});
2. When the only selected row is removed from the data source, the list grid is updated with no selection. However, the event is not triggered. The UI is not fully updated.
What can I do?
Comment