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
Property | Type | Description |
---|---|---|
colBarWidth | number | Width of left fixed column separator bar |
colCount | number | Number of left fixed columns |
editable | boolean | Whether fixed columns can be modified |
exceptFromFiltering | boolean | Whether fixed rows cannot be filtered |
exceptFromSorting | boolean | Whether fixed rows cannot be sorted |
movable | boolean | Whether the position of the fixed column can be changed |
resizable | boolean | Whether the width of a fixed column can be changed |
rightBarWidth | number | Width of right fixed column separator bar |
rightCount | number | Number of right fixed columns |
rightFixed | boolean | Position of right fixed column |
rowBarHeight | number | Fixed row separator bar height |
rowCount | number | Number of top fixed rows |
rowEditable | boolean | Whether fixed rows can be modified |
rowResizable | boolean | Whether 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.