Row Node Update API
Individual rows can be updated through their row node, either by replacing the whole data object (setData) or a single value (setDataValue). This is useful for targeted updates without transactions, and both paths respect identity, parsers, setters and change events.
Planned. This page shows the specification from issue #179. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
30 customers with stable ids.
Expected behavior
setData refreshes the whole row and fires a row-level change. setDataValue updates one cell and fires a cell change. updateData refreshes the row without firing edit events.
Planned API surface
api.getRowNoderowNode.setDatarowNode.setDataValuerowNode.updateDataonRowDataChangedonCellValueChangedAcceptance criteria
- setData replaces node.data and refreshes all cells of the row (pending)
- setDataValue runs the parser and setter and fires onCellValueChanged with source 'api' (pending)
- updateData fires no edit events (pending)
- Sorting and filtering are re-evaluated according to the documented policy after updates (pending)