SMART datagrid v.1 > Classes > DisplayOptions

Back  Forward

DataLudi.DisplayOptions.fixedColumnMovable  property

如果为true,用户就可以移动包含在固定区域的列。 

通过用鼠标拖动,移动列标头单元格。 首先,columnMovable需要为true。 

默认值为false.

Getter
function fixedColumnMovable(): Boolean
Setter
function setFixedColumnMovable(value: Boolean)
Code -1
    grid.setOptions({
        display: {
            columnMovable: true,
            fixedColumnMovable: true
        }
    });
Code -2
    grid.setDisplayOptions({
        columnMovable: true,
        fixedColumnMovable: true
    });
Code -3
    grid.displayOptions().setFixedColumnMovable(true);
See Also
columnMovable
fixedColumnResizable
fixedColumnCount
EditOptions.fixedColumnEditable
Examples
列移动
固定列