SMART datagrid v.1 > Classes > DataField

Back  Forward

DataLudi.DataField.length  property

When dataType is TEXT, if specify this value as greater than 0, the string which is saved as the value of this field will be limited within the specified length. 

Defaults to 0.

Getter
function length(): Number
Setter
function setLength(value: Number)
Code -1
    var field = dataSet.getField(0);
    field.setLength(20);
See Also
dataType
minimum
maximum
ValueType
Examples
Hello Grid