The options of this table (TableOptionsIf.batchEdit + defaults).
Marks values as pending (B1, B6, B8) and reports the step (onBatchEditChanged, announcement). The caller repaints.
cells with piped and raw value
the cells whose pending state changed
Writes the pending values (B3): shown rows through setValue (the pipe runs once, row groupings regroup), rows a
filter hides directly into their objects. One onModelChanged with all cells, then onBatchEditChanged "commit".
false if invalid values block the commit (BatchEditOptionsIf.blockCommitOnInvalid)
The pending value of a shown body cell – asked for every rendered cell (one map lookup, nothing while empty).
display index
model index
the entry
All pending changes with the current display indices (one scan of the shown rows).
the pending cells
The pending entry of a cell by row key and property (undo of a batch edit step).
row object (index for models without objects)
the property of the column
the entry
1.1.99
True while changes are collected (started, or isPermanent).
Forgets pending values of rows that are no longer in the model (setRows, a reloaded tree): they would never be
shown, block a commit with an invalid value and be written into stale objects. Only for models whose rows are known
(object arrays, trees, row groupings); others keep their entries.
the number of removed entries
Puts pending entries back (undo/redo of a batch edit step): an entry is set as it was, none removes the cell's
pending value. Reports onBatchEditChanged "change"; the caller repaints.
the cells
the cells with their display index (-1 if not shown)
1.1.99
Batch edit of one table (
tableScope.batchEditService): collects changes instead of writing them, shows them (ge-table-cell-pending) and writes them on commit. Use TableApi.startBatchEdit, TableApi.commitBatchEdit, TableApi.cancelBatchEdit and TableApi.getPendingChanges.The pending values belong to the row objects – sorting and filtering keep them on their rows. They are shown, but sorting, filtering, totals, copy and the Excel export use the written data (like ag-Grid).
Since
1.1.96