Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Cancel update operation in listgrid

    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

    #2
    See this link.

    Comment

    Working...
    X