SMART datagrid v.1 > Classes > GridBase
It will be fired if type Enter or Tab key to escape from the editing cell in cell editor to commit user editing.
You can also directly call GridBase.commitEditor. onEditCellUpdated event may be fired after this event.
grid.onEditCellUpdated = function (grid, rowIndex, fieldIndex, newValue, oldValue) {
console.log(oldValue + ' -> ' + newValue);
};
// If change the value of another cell within commit event, onEditCellUpdated event will be fired.
grid.onEditCommitted = function (grid, index, newValue, oldValue) {
if (index.dataField() == 0) {
index.getRow().setData(1, newValue + 100);
}
}