R1 2019 Release is live! See what’s new!
All Components
Theme

SASS Themes (beta)

    LESS Themes

      SASS Theme Builder

      Create new or customize SASS themes
      Launch Theme Builder

      Grid / Sorting

      Grid with single column sorting enabled

      Grid with multiple column sorting enabled

      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

      ASP.NET Core source

      Also available for:

      • sorting.cshtml
      • SortingController.cs

      Support & learning resources

      Grid for other technologies