SMART datagrid v.1 > Classes > DataField
The format string which is used when loading CSV text to data set and converting the value of nonempty string to Boolean format in the field of which dataType is ValueType.BOOLEAN.
If do not specify this property value, booleanFormat of Data Set which belongs to this field will be used. If do not specify both, "false,f,0:true,t,1:0" format will be used by default.
In the first node which is separated by colon(':'), it will separate the values which can be interpreted as false by comma, and in the second node, it will contain the values which can be interpreted as true. In the third node, if need to be case sensitive, it will set as 1 or 0.
Defaults to null.
var field = dataSet.getFieldIndexEx('booleanField');
field.setBooleanFormat("1,false:2,true:0");