DataChangeDetail
Detail for the data-change event.
Fired whenever the grid’s row data changes — including new data assignment,
row insertion/removal, and in-place mutations via updateRow().
Use this to keep external UI in sync with the grid’s current data state (row counts, summaries, charts, etc.).
Example
Section titled “Example”grid.on('data-change', ({ rowCount, sourceRowCount }) => { console.log(`${rowCount} rows visible of ${sourceRowCount} total`);});Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
rowCount | number | Number of visible (processed) rows |
sourceRowCount | number | Total number of source rows (before filtering/grouping) |
See Also
Section titled “See Also”DataGridEventMapfor all event types
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