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

ASP.NET MVC Grid Sticky Groups

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
sticky_groups.cshtml
Sticky_GroupsController.cs

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

The Telerik UI for ASP.NET MVC Grid supports sticky group headers and footers. When the user scrolls through grouped data, the sticky group headers remain visible at the top of the Grid and the sticky group footers remain visible at the bottom, providing continuous context about which group the currently visible rows belong to.

This demo showcases the sticky groups feature enabled through the .Groupable(g => g.StickyHeaders(true).StickyFooters(true)) configuration. The Data Grid is grouped by Priority and Team, and as you scroll vertically, the group header and footer rows stick to the edges of the scrollable area. A toggle switch in the toolbar allows you to enable or disable the sticky behavior at runtime by calling the setOptions method.

The example also demonstrates the use of aggregates within group footers, custom column templates for priority and status badges, and a rich toolbar with built-in filter, sort, group, and column-chooser tools.

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