SMART datagrid v.1 > Classes > DataColumn

Back  Forward

DataLudi.DataColumn.maxLength  property

The maximum number of characters which can be entered in column.
 If it is 0, there will be no limit. 

Defaults to 0.

Getter
function maxLength(): Integer
Setter
function setMaxLength(value: Integer)
Code -1
    $('#setMax').click(function () {
        var column = grid.focusedColumn();
        column.setMaxLength(20);
    });
See also
TextCellEditor.maxLength
Examples
TextEditors