SMART datagrid v.1 > Classes > CheckCellRenderer

Back  Forward

DataLudi.CheckCellRenderer.spaceKey  property

If editable* is true and this property is true, you can change the cell value by typing space key. 

Defaults to true.

Getter
function spaceKey(): Boolean
Setter
function setSpaceKey(value: Boolean)
Code -1
    grid.setColumns([{
        name: "Shipping",
        fieldName: "Shipping",
        renderer: {
            type: "check",
            editable: true,
            editOnClick: true,
            spaceKey: true
        }
    },
    ...
    ]);
See Also
editable
dblClickEditable
threeStates
Examples
Check Cell Renderer