Announcement

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

    Current edit operation binding

    Is it possible to distinguish the current edit operation ("add" or "update") of a ListGrid?

    When using a ListGrid, I create new records via startEditingNew() and existing records with startEditing(rowNumber). I need to know which operation is current (because of autorisation issues). I now use a self made variable to do this, but was wondering if I could use ListGrid internals.

    #2
    There are a number of ways, one is, call getRecord() with that row. For an unsaved newly added row (where the "add" operation will be used) it will return null.

    Comment

    Working...
    X