The number of columns that remain locked on the left side of the grid as it is scrolled horizontally.

Property of

Browse, Grid

Description

The lockedColumns property specifies the number of contiguous columns on the left side of the grid that do not move when you are scrolling the grid. The number must be between zero and the number of columns in the grid. When the grid is scrolled horizontally, the number of columns you locked will remain displayed in the same position. Note that if you allow column moving, the user can rearrange the columns; whatever columns end up on the left are locked.

Set lockedColumns to zero to unlock all columns.

Any change in the lockedColumns property will reset the firstColumn property to one.