SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.strictDiff  property

If it is true, it will judge undefined is different from the value which is not undefined. 

For example, in the case of text field, if this property value is false, it will consider undefined and empty string as the same value. 

Defaults to false.

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