API REFERENCE
rowDataChanged
Emitted when source row data changes. Different from a change in display sorting.
What does this API do?
Emitted when source row data changes. Different from a change in display sorting.
Exact input and result types
rowDataChanged: GridRowDataChangedDetailUsage flow
Subscribe with grid.addEventListener('rowDataChanged', handler). The result is in event.detail, and event names are case-sensitive. Remove subscriptions when disposing of the view.
const controller = new AbortController();
grid.addEventListener('rowDataChanged', event => {
console.log(event.detail);
}, { signal: controller.signal });
// On view disposal: controller.abort();Read related types
Feature explanations and examples
- Data updates
Replace rowData when receiving a complete query result. For partial changes, pass add, update, and remove to applyTransaction. Updates match through getRowId, not display positions.