RowUpdate
Batch update specification for updateRows().
Used when you need to update multiple rows at once efficiently. The grid will batch all updates and trigger a single re-render.
Example
Section titled “Example”// Update multiple rows in a single batchconst updates: RowUpdate<Employee>[] = [ { id: 'emp-1', changes: { status: 'active', updatedAt: new Date() } }, { id: 'emp-2', changes: { status: 'inactive' } }, { id: 'emp-3', changes: { salary: 75000 } },];
grid.updateRows(updates);Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
id | string | Row identifier (from getRowId) |
changes | Partial<TRow> | Fields to update |
See Also
Section titled “See Also”CellChangeDetailfor individual change eventsGridConfig.getRowIdfor row identification
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt