SMART datagrid v.1 > Classes > MultiLineCellEditor

Back  Forward

DataLudi.MultiLineCellEditor.minLength  property

The minimum text length which should be entered. 

If specify as less than 0, you can enter without limit. In addition, if try to commit editing in the state of entering less than the minimum length, Warning Message will be displayed according to EditOptions.alertMinLengthError setting. 

Defaults to 0.

Getter
function minLength(): Integer
Setter
function setMinLength(value: Integer)
Code -1
    var columns = [{
        name: "col1",
        fieldName: "Data1",
        editor: {
            type: "multiline",
            minLength: 5
        },
        ....
    }];
    grid.setColumns(columns);
Code -2
    column && column.setEditor({
        minLength: 5
    });
See Also
EditOptions.alertMinLengthError
EditOptions.minLengthMessage
maxLength
Examples
Text Cell Editors