DataGrid Sticky Columns

Pin DataGrid columns to a sticky edge while preserving their configured column order.

Columns

Column example

Sticky Columns Requirements

•Columns marked as "sticky" remain visible during horizontal scrolling
•Ensure the grid is scrollable (enabled by default)
•Set the width option of all columns explicitly

Mark Columns as Sticky

After marking columns as sticky, use the horizontal scrollbar at the bottom of the grid to scroll right and see sticky columns stay pinned.

Loading interactive DataGrid example…

1 sticky column(s) - Use the horizontal scrollbar below the grid to scroll right and see sticky columns stay pinned