SMART datagrid v.1 > Classes > TextCellEditor

Back  Forward

DataLudi.TextCellEditor.maxLength  property

The maximum text length which can be edited. 

If specify as less than 0, you can enter without limit. 

Defaults to 0.

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