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

Frozen columns

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

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

With the Telerik UI for ASP.NET Core TreeList, you can lock (freeze) columns to a specific position, which is always visible while the user scrolls horizontally.

For the feature to work properly, you need to make sure that:

  • Scrolling is enabled
  • At least one column is locked initially
  • The height of the TreeList is defined
  • Explicit pixel widths are set to all columns
  • The total width of all locked columns is either the same or less than the width of the TreeList minus three times the width of the scrollbar
  • The TreeList is not initialized in a hidden container

Support & Learning Resources