API REFERENCE
cellValueChanged
Emitted when an actual cell value changes. Use the row, field, and before/after values for saving or activity history.
What does this API do?
Emitted when an actual cell value changes. Use the row, field, and before/after values for saving or activity history.
Exact input and result types
cellValueChanged: GridCellValueChangedDetailUsage flow
Subscribe with grid.addEventListener('cellValueChanged', 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('cellValueChanged', 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.