SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.checkDiff  property

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

Defaults to false.

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