Announcement

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

    Capture Row Cancel Event on Edited ListGrid Row

    1. SmartClient_v100p_2015-05-13_LGPL
    2. IE 11

    Hi,

    I'm looking for a way to capture the cancel event on a ListGrid row being edited when a user presses the escape key.

    If possible I'd like to be able to retrieve the edit row number, and values on the canceled row before the row's reset back to the original state.

    I've seen some events I can capture on defined ListGrid fields, but I'm unaware of the event used to capture the cancel event.

    Any help on this will be very much great.

    -JJ

    #2
    The simplest way to do this would be to set the escapeKeyEditAction to "none" (so no behavior by default), then capture the Escape keypress via listGrid.bodyKeyPress.

    Comment

    Working...
    X