RealGrid2 API
Interface
FixedOptions

FixedOptions

Setup model for fixed row and column areas in grid

Signature:

export interface FixedOptions

Remarks

One or more rows at the top of the grid can be excluded from vertical scrolling.

One or more top-level columns can be excluded from horizontal scrolling.

When setting it as an option in Grid, you only need to enter the necessary information.

Example

grid.setFixedOptions({colCount: 2});

Properties

PropertyTypeDescription
colBarWidthnumberWidth of left fixed column separator bar
colCountnumberNumber of left fixed columns
editablebooleanWhether fixed columns can be modified
exceptFromFilteringbooleanWhether fixed rows cannot be filtered
exceptFromSortingbooleanWhether fixed rows cannot be sorted
movablebooleanWhether the position of the fixed column can be changed
resizablebooleanWhether the width of a fixed column can be changed
rightBarWidthnumberWidth of right fixed column separator bar
rightCountnumberNumber of right fixed columns
rightFixedbooleanPosition of right fixed column
rowBarHeightnumberFixed row separator bar height
rowCountnumberNumber of top fixed rows
rowEditablebooleanWhether fixed rows can be modified
rowResizablebooleanWhether the height of fixed rows can be changed

Properties Desc

colBarWidth

Width of left fixed column separator bar

Type - number


colCount

Number of left fixed columns

Type - number

Remarks:

Specified by top-level column


editable

Whether fixed columns can be modified

Type - boolean

Remarks:

When false, fixed columns cannot be modified regardless of other properties.


exceptFromFiltering

Whether fixed rows cannot be filtered

Type - boolean


exceptFromSorting

Whether fixed rows cannot be sorted

Type - boolean


movable

Whether the position of the fixed column can be changed

Type - boolean

Remarks:

If false, the user cannot change the position of the fixed column regardless of other properties. Columns included in a fixed column group can be moved within the group. Applies only to top-level columns.


resizable

Whether the width of a fixed column can be changed

Type - boolean

Remarks:

If false, the user cannot change the width of the fixed column regardless of other properties.


rightBarWidth

Width of right fixed column separator bar

Type - number


rightCount

Number of right fixed columns

Type - number

Remarks:

Specified by top-level column


rightFixed

Position of right fixed column

Type - boolean

Remarks:

If true, it is fixed to the right side of the container; if false, it is fixed behind the rightmost column.


rowBarHeight

Height of fixed row separator bar

Type - number


rowCount

Number of top fixed rows

Type - number


rowEditable

Can fixed rows be modified?

Type - boolean

Remarks:

When false, fixed rows cannot be modified regardless of other properties.


rowResizable

Is it possible to change the height of fixed rows?

Type - boolean

Remarks:

If false, the user cannot change the height of the fixed row regardless of other properties.