Announcement

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

    Question about onEditorExit and event.getNewValue()

    Thanx to the new ListGridEditorCustomizer I'm finally able to use the editorEnter/Exit handlers in my list grid (thx isomorphic!).

    However, I noticed a confusing behaviour in onEditorExit: the event.getNewValue() returns null if I just click in the cell and then at some other place without changing the input of the item.

    This means, that I can't distinguish between the user clearing the data (where newValue = null is correct) and the user just clicking/tabbing through the editable cells.

    Is there a solution/workaround for this dilemma?

    I'm using SmartGWT 2.5 and GWT 2.3

    #2
    That's by design, there is no new value because the user hasn't changed it - see the ListGrid Editing overview and note the distinction between editValues vs the stored Record.
    Last edited by Isomorphic; 12 Sep 2011, 09:07.

    Comment

    Working...
    X