SMART datagrid v.1 > Classes > DisplayOptions

Back  Forward

DataLudi.DisplayOptions.rightClickable  property

If the value is true, you can select the cell by clicking on the right mouse button. 

Defaults to true.

Getter
function rightClickable(): Boolean
Setter
function setRightClickable(value: Boolean)
Code -1
    grid.setOptions({
        display: {
            preventSystemMenu: true,
            rightClickable: true
        }
    });
Code -2
    grid.setDisplayOptions({
        preventSystemMenu: true,
        rightClickable: true
    });
Code -3
    grid.displayOptions().setRightClickable(true);
See Also
GridBase.focusedIndex
Examples
Hello Grid