SMART datagrid v.1 > Classes > DisplayOptions

Back  Forward

DataLudi.DisplayOptions.fixedColumnResizable  property

如果为true,用户就可以变更固定列的宽度。 

通过用鼠标拖动列标头单元格的右边框,变更宽度。 首先,columnResizable需要为true。 

默认值为false.

Getter
function fixedColumnResizable(): Boolean
Setter
function setFixedColumnResizable(value: Boolean)
Code -1
    grid.setOptions({
        display: {
            columnResizable: true,
            fixedColumnResizable: true
        }
    });
Code -2
    grid.setDisplayOptions({
        columnResizable: true,
        fixedColumnResizable: true
    });
Code -3
    grid.displayOptions().setFixedColumnResizable(true);
See Also
fixedColumnMovable
fixedColumnCount
EditOptions.fixedColumnEditable
columnResizable
Examples
列调整尺寸
固定列