SMART datagrid v.1 > Classes > DataSet

Back  Forward

DataLudi.DataSet.booleanFormat  property

The format string which is used when converting the string value of nonempty string to Boolean format in the field of which dataType is ValueType.BOOLEAN

If booleanFormat of field is not specified, it will use this property value. Please refer to DataField.booleanFormat help about the conversion format. 

Defaults to null.

Getter
function booleanFormat(): String
Setter
function setBooleanFormat(value: String)
Code -1
    dataset.setBooleanFormat("Withdrawal;Deposit");
Code -2
    dataset.setProperties({
        booleanFormat: "Withdrawal;Deposit",
        datetimeFormat: "yyyy.MM.dd"
    });
See Also
numberFormat
datetimeFormat
DataField.booleanFormat
Examples
Load CSV Data
Load JSON Data
Load XML Data