Announcement

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

    ListGridField editorExitHandler can't return false

    The javadocs says "Callback fired when the user attempts to navigate away from the current edit cell, or complete the current edit. Return false from this method to cancel the default behavior (Saving / cancelling the current edit / moving to the next edit cell)"

    I'd like to return false but the onEditorExit() method return type is void. What I'm trying to do is "suspend" the cursor from moving to the next edit cell while I make a call to the server. If the response is OK I want to move to the next edit cell, otherwise I want the cursor to remain where it was. Is there another way to accomplish this?

    #2
    Call event.cancel() instead.

    Comment


      #3
      Thanks. That's what I was looking for.

      Comment

      Working...
      X