Reported by EventListenerIf.onBatchEditChanged: the pending changes of a batch edit changed – e.g. to enable a "Save" button.

Example

const listener = new EventAdapter();
listener.onBatchEditChanged = (evt: GeBatchEditEvent) => {
saveButton.disabled = evt.pendingCount === 0 || evt.invalidCount > 0;
discardButton.disabled = evt.pendingCount === 0;
};

Since

1.1.96

Hierarchy

  • GeBatchEditEvent

Constructors

Properties

changes: CellChangeIf<any>[]

The cells of this step ("commit": the written cells, "cancel": the discarded ones).

invalidCount: number

The number of pending cells with an invalid value.

pendingCount: number

The number of pending cells after this step.

What happened.

Accessors