Skip to content

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.

// Update multiple rows in a single batch
const 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);
PropertyTypeDescription
idstringRow identifier (from getRowId)
changesPartial<TRow>Fields to update
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