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

ASP.NET Core Grid Sticky Groups

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
sticky_groups.cshtml
Sticky_GroupsController.cs
Sticky_Groups_TagHelper.cshtml

Also available for:

CLIENT-SIDE API HTML HELPER API

Description

The Telerik UI for ASP.NET Core 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 unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core 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 Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources