--- title: "Frozen Rows | Features" description: "Learn how to freeze, or fix, rows to the top or bottom of your grid." url: https://www.zinggrid.com/docs/features/frozen-rows --- ```text experiment_id: web-retrieval-v1 fixture_id: /docs/features/frozen-rows.md mode: provenance representation: markdown origin_response_id: 5fcdf0b2af282d4d9e39f74de66ce48f version: 2026-10-21 version_created_at_utc: 2026-10-21T20:42:35.690Z version_nonce: 2ef021a5fd263cd75db5851232786397 generated_at_utc: 2026-11-10T16:14:12.682Z response_nonce: 44919291aea0c502e3059d957741b448 ``` # Frozen Rows Rows can be frozen, or fixed, to either the top or bottom edge of your grid. This allows you to vertically scroll the grid, excluding the frozen rows, such that the rows are always visible in the same position. ## Setting Frozen Rows Frozen rows can be set by setting a numeric value `n` to the `` attributes `frozen-rows-top` and/or `frozen-rows-bottom`. This will automatically freeze the first `n` to the top of the grid, or the final `n` rows to the bottom of the grid. [Example code](https://app.zingsoft.com/demos/embed/LW06T19U) ## Context Menu If context menu is turned on, you can freeze/unfreeze a row from the right click menu. [Example code](https://app.zingsoft.com/demos/embed/HWPXEV1G) ## 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)