SMART datagrid v.1 > Classes > GridColumn

Back  Forward

DataLudi.GridColumn.movable  property

Specify true if want to enable the user to change the location of column. 

The column included in Column Group basically can be moved only within the group. In order to move out of the group, that is, in order to change the group, DisplayOptions.parentChangable should also be specified as true. 

Defaults to true.

Getter
function movable(): Boolean
Setter
function setMovable(value: Boolean)
Note
Code -1
    var col = grid.columnByName('colAddr');
    col.setMovable(false);
See Also
DisplayOptions.columnMovable
DisplayOptions.parentChangable
ColumnGroup.setVisibleIndex
Examples
Column Grouping
Column Moving