--- title: "Frozen Columns | Features" description: "Learn how to freeze, or fix, columns to the left or right side of your grid." url: https://www.zinggrid.com/docs/features/frozen-columns --- ```text experiment_id: web-retrieval-v1 fixture_id: /docs/features/frozen-columns.md mode: provenance representation: markdown origin_response_id: 62d7fae8b15fc846789a549b78240a16 version: 2026-10-21 version_created_at_utc: 2026-10-21T20:42:35.689Z version_nonce: d28574a8dbfed35f03277e5b5d01e317 generated_at_utc: 2026-11-05T05:03:20.739Z response_nonce: 8e8ac6bd91fcf6ce0069e0c952762e1b ``` # Frozen Columns Columns can be frozen, or fixed, to either the left or right edge of your grid. This allows you to horizontally scroll the grid, excluding the frozen columns, such that the columns are always visible in the same position. ## Setting Frozen Columns Frozen columns can be set by setting a numeric value `n` to the `` attributes `frozen-columns-left` and/or `frozen-columns-right`. This will automatically freeze the first `n` to the left of the grid, or the final `n` columns to the right of the grid. Frozen columns can also be set by adding the `frozen` attribute to the `` The `frozen` attribute can be set to one of two values: `left` or `right`. It will default to `left` if no value is given. [Example code](https://app.zingsoft.com/demos/embed/7APRNW8H) ## Dragging Frozen Columns If draggable columns are turned on AND frozen columns already exist, you can drag columns in and out of the frozen range. Once there are no more frozen columns, you cannot drag into the frozen range. [Example code](https://app.zingsoft.com/demos/embed/M64AQ8W0) ## Context Menu If context menu is turned on, you can freeze/unfreeze a column from the right click menu [Example code](https://app.zingsoft.com/demos/embed/OKE2OT70) ## Related Resources Here are some extra resources related to this feature to help with creating your grid: * [Adding Features Guide](https://www.zinggrid.com/docs/adding-features) * [Attribute List](https://www.zinggrid.com/docs/api/tags/zing-grid)