Announcement

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

    ListGrid::addRowEditorExitHandler Question

    I am looking to override the default behavior as listed in the SmartGwt javadaoc below (by returning false):

    public HandlerRegistration addRowEditorExitHandler(RowEditorExitHandler handler)
    Add a rowEditorExit handler.
    Callback fired when the user attempts to navigate away from the current edit row, 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).

    There is no method or callback that returns a boolean. How can I override default behavior? Thanks

    #2
    The javadocs will be updated. You need to call event.cancel() instead of returning false in order to cancel the event.

    Comment

    Working...
    X