DataLudi Grid v.1 > Classes > DataColumn

Back  Forward

DataLudi.DataColumn.defaultValue  property

The value which will be the initial value of this column cell when the user directly adds the row. 

If specify undefined or defaultCallback, defaultExpression, it will ignore this value. And, if set this property, DataField.defaultValue will be ignored. 

Defaults to undefined.

Getter
function defaultValue(): *
Setter
function setDefaultValue(value: *)
Code -1
    column.setDefaultValue("Paris");
See Also
defaultExpression
defaultCallback
DataField.defaultValue
insert
append
Examples
Row Inserting