New to Telerik UI for ASP.NET CoreStart a free 30-day trial

Sorting the Grid Multi-Check Filter Items

Environment

Product Version2025 Q1
ProductTelerik UI for ASP.NET Core Grid

Description

How can I sort the multi-check items in the column filter menu of the Telerik UI for ASP.NET Core Grid?

Solution

  1. Specify a DataSource in the Filterable configuration of the Grid column.
  2. Configure the sort option of the DataSource and set the desired order.
Razor
  columns.Bound(p => p.Details).Filterable(ftb =>
  {
    ftb.Multi(true);
    ftb.Search(true);
    ftb.CheckAll(true);
    ftb.DataSource(dataSource => dataSource
      .Custom()
      .Transport(t => t.Read("ReadFilterMenuItems", "Grid"))
      .Sort(sort => {
          sort.Add("Details").Descending();
      })
    );
  });

More ASP.NET Core Grid Resources

See Also