SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.checkCellDiff  property

If it is true, when commit cell editing, if the entered cell value is not different from the existing value, it will not commit but ignore. 

Defaults to false.

Getter
function checkCellDiff(): Boolean
Setter
function setCheckCellDiff(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            checkCellDiff: true
        }
    });
Code -2
    grid.setEditOptions({
        checkCellDiff: true
    });
Code -3
    grid.editOptions().setCheckCellDiff(false);
See Also
checkDiff
GridBase.commitEditor
GridBase.commit
GridBase.cancel
Cell Editing Overview
Examples
Cell Editing