Pinned columns (also known as sticky, frozen, and locked) are visible at all times while scrolling the Data Grid horizontally. Users can access this feature through the column menu to pin and unpin columns to either the left or right side.
You must opt-in to column pinning by setting the features.pinning prop to true or
utilzing the options object. Doing so will display the pinning options in the column menu.
To set a column to be pinned by default, you can use the defaultPosition property
in the features.pinning object.
The pinning feature accepts either a boolean or an object with the following properties:
| Params | Required | Description |
|---|---|---|
defaultPosition | false | Whether the column should be pinned by default. |