[]
        
(Showing Draft Content)

Wijmo_Grid.Igridfreezeoptions

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.

Remarks

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.

Example


// 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 };
            

Hierarchy

  • IGridFreezeOptions

Properties

Optional top: number

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

Optional bottom: number

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

Optional 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: number

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