SMART datagrid v.1 > Classes > DisplayOptions
If it is true, the user can change the location of columns by dragging the mouse.
You can also specify whether it can be changed individually by specifying movable property of column. And, if specify parentChangable property as true, you can also change parent column group. In other words, you can pick it out of parent column group and move to the top column or the child of other column group.
Defaults to true.
grid.setOptions({
display: {
columnMovable: true,
parentChangable: true
}
});
grid.setDisplayOptions({
columnMovable: true,
parentChangable: true
});
grid.displayOptions().setColumnMovable(true);