I have created a listgrid bound to datasource. Only one column of the grid is editable and is of type boolean. Whenever user edits the field, the update operation in automatically triggered. I do not want that to happen. I basically want to store the id of the rows for which the selection is made at client side. And when user clicks on a button below, i want a call to be made to server with those ids. I tried
grid.addEditorExitHandler(new EditorExitHandler() {
@Override
public void onEditorExit(EditorExitEvent event) {
event.cancel();
GWT.log("id" + event.getRowNum());
}
});
But this does not work. Any idea how this can be achieved.
Regards,
Swati
grid.addEditorExitHandler(new EditorExitHandler() {
@Override
public void onEditorExit(EditorExitEvent event) {
event.cancel();
GWT.log("id" + event.getRowNum());
}
});
But this does not work. Any idea how this can be achieved.
Regards,
Swati
Comment