SMART datagrid v.1 > Classes > DisplayOptions

Back  Forward

DataLudi.DisplayOptions.rightClickable  property

如果值为true,就可以通过右击鼠标,选择单元格。 

默认值为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