SMART datagrid v.1 > Classes > CellEditor

Back  Forward

DataLudi.CellEditor.booleanFormat  property

The type of input/out value in editor when the editing cell is BOOLEAN field. 

The default type is "false,f,0:true,t,1:0"

Defaults to null.

Getter
function booleanFormat(): String
Setter
function setBooleanFormat(value: String)
Code -1
    var columns = [{
        name: "col1",
        fieldName: "Boolean1",
        editor: {
            booleanFormat: "No,f,false:Yes,t,true:0"
        },
        ....
    }];
    grid.setColumns(columns);
See Also
datetimeFormat
Examples
Text Cell Editor