Announcement

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

    listgrid hide inline editor

    Hi,

    I am using smartgwtpower 3.1.

    I have an editable grid with a datasource where I want to manually process changed values without having them added to the datasource. Therefore I tried:

    Code:
    grid.addRowEditorExitHandler(new RowEditorExitHandler() {
    	@Override
    	public void onRowEditorExit(RowEditorExitEvent event) {
    		event.cancel();
    		// do some stuff
    	}
    });
    But after that the inline editor is still showing up. Is there a way to hide it?

    Looking forward to hear from you

    #2
    any feedback?

    Is there a way to achieve this?

    Comment


      #3
      Did you already try ListGrid.discardAllEdits() and ListGrid.endEditing()? See the Javadocs there.

      Best regards,
      Blama

      Comment


        #4
        Originally posted by Blama View Post
        Did you already try ListGrid.discardAllEdits() and ListGrid.endEditing()? See the Javadocs there.

        Best regards,
        Blama
        I tried that, but it seems to execute the RowEditorExitEvent, which then causes an infinite loop :(

        Comment

        Working...
        X