SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.alertMinLengthError  property

If it is true, when commit the editing in the state of entering the text shorter than minLength specified in text editor, it will display Warning Message

Defaults to true.

Getter
function alertMinLengthError(): Boolean
Setter
function setAlertMinLengthError(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            alertMinLengthError: true
        }
    });
Code -2
    grid.setEditOptions({
        alertMinLengthError: true
    });
Code -3
    grid.editOptions().setAlertMinLengthError(true);
See Also
minLengthMessage
TextCellEditor.minLength
TextCellEditor.maxLength
MultilineCellEditor.minLength
MultilineCellEditor.maxLength
Examples
Text Cell Editors
Cell Editing