[]
        
(Showing Draft Content)

IGridFreezeOptions Interface

IGridFreezeOptions Interface

Specifies the frozen options for FlexGrid based controls. The frozen cells feature allows users to freeze rows and columns on all four sides of the grid. This interface defines the structure for specifying the number of frozen rows and columns.

When specifying frozen cells, consider the following:

  • You can freeze cells on both the horizontal (left and right) and vertical (top and bottom) axes simultaneously.
  • However, for each axis, you can only freeze from one side at a time. For example, if both 'left' and 'right' are set, only the last one set will take effect.
  • The same applies to 'top' and 'bottom' - only the last one set will be applied.

Freeze 2 rows at the top and 3 columns on the left grid.frozenCells = { top: 2, left: 3 };

Freeze 1 row at the bottom and 2 columns on the right grid.frozenCells = { bottom: 1, right: 2 };

Heirarchy

  • IGridFreezeOptions

Properties

Properties

Optional bottom

bottom: number

The number of rows to freeze at the bottom of the grid. These rows will remain visible when scrolling vertically.

Optional left

left: number

The number of columns to freeze on the left side of the grid. These columns will remain visible when scrolling horizontally.

Optional right

right: number

The number of columns to freeze on the right side of the grid. These columns will remain visible when scrolling horizontally.

Optional top

top: number

The number of rows to freeze at the top of the grid. These rows will remain visible when scrolling vertically.