Documentation

@kanunilabs/datagrid-react


@kanunilabs/datagrid-react / ChangesChangedEvent

Interface: ChangesChangedEvent

The change-tracking state of the editing layer moved (P-1) — changesChanged. Fired once per edit, undo/redo, revert, cancel or save that added, altered or dropped a pending change; never for a repaint that changed nothing pending (a keystroke in an open editor, a row's "saved" mark timing out).

Properties

count

count: number

Pending ROW changes: controller.editing.getChanges().length — one per inserted, removed or edited row, however many of its cells changed.


dirty

dirty: boolean

Anything pending — what controller.editing.hasChanges() says now.