This page covers a next version of Handsontable, and is not published yet.

This page covers a non-latest version of Handsontable.

# Column freezing

# Overview

Column freezing locks specific columns of a grid in place, keeping them visible while scrolling to another area of the grid. We refer to frozen columns as fixed. Columns can be frozen during initialization and by the user.

# Freeze columns at initialization

To freeze the columns on the left-hand side, you need to pass the option fixedColumnsLeft in the Settings object. The container you initialize the data grid in will need additional CSS attributes configured: width and overflow: hidden.

    # User-triggered freeze

    To manually freeze a column, you need to set the manualColumnFreeze config item to true in the Handsontable initialization. When the Manual Column Freeze plugin is enabled, you can freeze any non-fixed column and unfreeze any fixed column in your Handsontable instance using the Context Menu.


    A frozen column won't go back to the original position after you unfreeze it.