SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.minLengthMessage  property

在输入比起指定在文本编辑器的minLength更短的文本的状态下,当提交编辑时,将会被显示的信息。 

alertMinLengthError需要被指定为true。 

默认值为"최소 ${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
文本单元格编辑器
单元格编辑