Controlled Editing
When using a lazy rowSource or remote row model ('infinite', 'serverSide', 'viewport'), NextGrid does not mutate source row objects directly. Instead, commitEditing and applyCellChanges return { status: 'requested', changes } and emit cellEditRequest.
Handling cellEditRequest
Section titled “Handling cellEditRequest”grid.addEventListener('cellEditRequest', async (event) => { const { requestId, dataEpoch, origin, changes } = event; await api.saveChanges(changes); // Refresh loaded rows or push updated viewport data once persisted grid.refreshRows();});dataEpochGuard: CheckdataEpochif your server update is asynchronous so stale responses do not overwrite newer datasets.historyNote: Built-in undo/redo (history) is disabled on remote models; manage server-side undo in your application if needed.