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

Sorting

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Theme Builder
  • sorting.cshtml
  • SortingController.cs
  • OrderViewModel.cs

Also available for:

API REFERENCE

Description

You can learn in this sample how to enable sorting for the Telerik for ASP.NET Core Grid. Since this functionality is built-in, all you have to do is to set the sorting configuration via the .Sortable()method. The supported sorting modes are single and multiple and can be specified through the SortMode method by passing a GridSortMode - SingleColumn or MultipleColumn.
.Sortable(sortable => sortable.SortMode(GridSortMode.MultipleColumn)
More about the sorable feature of the Telerik Grid for ASP.NET Core

More about the Telerik Grid for ASP.NET Core

Support & Learning Resources