Skip to content

onLiveEdit

fires when data was changed in the editor

function onLiveEdit(
// an object with 2 properties: 'value' - the new value of the cell, " 'old' - the old value of the cell
state: object,
// the editor object
editor: object,
// indicates whether the cell was updated after editing
ignoreUpdate: boolean
): void
grid1.attachEvent("onLiveEdit", function(state, editor, ignoreUpdate){
console.log("Current value: " + state.value);
});

fires only if the liveEdit mode is used for the editor