New to Telerik UI for ASP.NET MVC? Download free 30-day trial

ASP.NET MVC Grid Frozen Columns

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
frozen_columns.cshtml
Frozen_ColumnsController.cs

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

The Telerik UI for ASP.NET MVC Grid supports the frozen (locked) column feature. Frozen columns are the columns that are visible at all times while the user scrolls the Data Grid horizontally. In this way, the frozen columns functionality enables the Data Grid to display a large number of columns on limited screen space by statically rendering these columns. The concept of frozen columns is well known from MS Excel and many users expect the feature to be available in web environments too.

The Telerik UI for ASP.NET MVC Grid enables you to implement the frozen column feature by setting a single configuration. This demo shows how to achieve the desired scenario by setting the .Locked(true) Boolean setting of the corresponding column. As a result, the columns in the locked-column group will be rendered to the left of the Grid. In the example, the Order ID and Ship Name are locked, while the rest of the columns can be scrolled horizontally.

For more information about the column capabilities, refer to the official Telerik UI for ASP.NET MVC Data Grid product documentation on the available column settings.

Additional Apps

This Grid example is part of a unique collection of hundreds of ASP.NET MVC demos, with which you can see all Telerik ASP.NET MVC components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in the ThemeBuilder.

Support & Learning Resources

Additional Resources