SMART datagrid v.1 > Classes > CheckCellRenderer

Back  Forward

DataLudi.CheckCellRenderer.editable  property

If it is true, you can change the cell value by clicking or double clicking the mouse or typing space key. 

Defaults to false.

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