SMART datagrid v.1 > Classes > DisplayOptions

Back  Forward

DataLudi.DisplayOptions.fixedRowCount  property

固定行的数量。 

被包含在固定列的单元格,将会从垂直滚动中排除,也会从排序或行分组中排除。 而且,如果EditOptions.fixedRowEditable不是true,基本上无法进行编辑。 

默认值为0.

Getter
function fixedRowCount(): Integer
Setter
function setFixedRowCount(value: Integer)
Code -1
    grid.setOptions({
        display: {
            fixedColumnCount: 3,
            fixedRowCount: 2
        }
    });
Code -2
    grid.setDisplayOptions({
        fixedColumnCount: 3,
        fixedRowCount: 2
    });
Code -3
    grid.displayOptions().setFixedRowCount(3);
See Also
fixedColumnCount
EditOptions.fixedRowEditable
Examples
固定行