SMART datagrid v.1 > Classes > DisplayOptions

Back  Forward

DataLudi.DisplayOptions.fixedRowCount  property

The number of fixed rows. 

The cells contained in fixed row will be excluded from vertical scroll and sorting or row grouping. And, if EditOptions.fixedRowEditable is not true, it will not be able to edit by default. 

Defaults to 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
Fixed Rows