SMART datagrid v.1 > Classes > DisplayOptions
如果为true,用户就可以移动包含在固定区域的列。
通过用鼠标拖动,移动列标头单元格。 首先,columnMovable需要为true。
默认值为false.
grid.setOptions({
display: {
columnMovable: true,
fixedColumnMovable: true
}
});
grid.setDisplayOptions({
columnMovable: true,
fixedColumnMovable: true
});
grid.displayOptions().setFixedColumnMovable(true);