New to Telerik UI for ASP.NET MVC? Download free 30-day trial
ASP.NET MVC Grid Sticky Columns
- EXAMPLE
- VIEW SOURCE
-
Change Theme
defaultDefault Theme
- Main
- Main Dark
- Nordic
- Ocean Blue
- Ocean Blue A11Y
- Purple
- Turquoise
Bootstrap Theme- Main
- Bootstrap 3
- Bootstrap 3 Dark
- Main Dark
- Nordic
- Turquoise
- Turquoise Dark
- Urban
- Vintage
Material Theme- Main
- Arctic
- Lime Dark
- Main Dark
- Nova
Classic Theme- Main
- Green
- Green Dark
- Lavender
- Lavender Dark
- Main Dark
- Metro
- Metro Dark
- Moonlight
- Opal
- Opal Dark
- Silver
- Silver Dark
- Uniform
Fluent Theme- Main
Also available for:
CLIENT-SIDE API SERVER-SIDE APIDescription
Some senarios require you to display a large number of Telerik UI for ASP.NET MVC Grid columns on limited screen space, and making a small subset of them visible when scrolling the grid horizontally. The concept of sticky columns enables a certain columns to stay visible in the viewable area, yet remaining scrollable with the rest of the non-sticky columns.
The sticky-column feature of the ASP.NET MVC Data Grid is available alongside the implementation of the frozen-column feature. While the locked columns in the Grid are rendered on the left side of the component, the sticky columns are displayed in the scrollable area with the non-frozen columns.
The Data Grid allows you to implement the sticky-column feature by setting the .Sticky()
configuration of the corresponding column to true
, which, as a result, will render the column as sticky. To allow the user to stick or unstick a certain column from the Column Menu, use the .Stickable(true)
corresponding setting.
This demo shows how to implement sticky columns in the Data Grid and displays the Ship Address column as sticky.
For more information, refer to the official Telerik UI for ASP.NET MVC Data Grid product documentation on rendering sticky columns.