SMART datagrid v.1 > Classes > CheckCellRenderer

Back  Forward

DataLudi.CheckCellRenderer.trueValues  property

If it is not a Boolean value, the values which can be read as true will be set as the string of being separated by comma. The values which can be read as false are specified by falseValues

Defaults to null.

Getter
function trueValues(): String
Setter
function setTrueValues(value: String)
Code -1
    grid.setColumns([{
        name: "Shipping",
        fieldName: "Shipping",
        renderer: {
            type: "check",
            editable: true,
            threeStates: true,
            trueValues: "True",
            falseValues: "False"
        }
    },
    ...
    ]);
See Also
falseValues
threeStates
Examples
Check Cell Renderer