SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.minLengthMessage  property

The message which will be displayed when commit editing in the state of entering the text shorter than minLength specified in text editor. 

alertMinLengthError should be specified as true

Defaults to "최소 ${length} 문자가 ?�력?�야 ?�니??".

Getter
function minLengthMessage(): String
Setter
function setMinLengthMessage(value: String)
Code -1
    grid.setOptions({
        edit: {
            minLengthMessge: "Too short text !"
        }
    });
Code -2
    grid.setEditOptions({
        minLengthMessge: "Too short text !"
    });
Code -3
    grid.editOptions().setMinLengthMessge("Too short text !");
See Also
alertMinLengthError
TextCellEditor.minLength
TextCellEditor.maxLength
MultilineCellEditor.minLength
MultilineCellEditor.maxLength
Examples
Text Cell Editors
Cell Editing