API REFERENCE
batchEditEnd
Emitted when batch editing commits or cancels. Inspect the end reason and results.
What does this API do?
Emitted when batch editing commits or cancels. Inspect the end reason and results.
API for Pro features: Batch editing
Exact input and result types
batchEditEnd: SyGridBatchEditEndEventDetailUsage flow
Subscribe with grid.addEventListener('batchEditEnd', 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('batchEditEnd', event => {
console.log(event.detail);
}, { signal: controller.signal });
// On view disposal: controller.abort();Read related types
Feature explanations and examples
- Batch editing
Batch editing stages changes to multiple cells for a single commit or cancellation. Distinguish staged values from committed rowData to make the Save action clear.