Edit this page

Sort MultiCheck Filter

Environment

Product Progress Kendo UI Grid for ASP.NET MVC

Description

How can I sort the values in a multiple select filter in a Kendo UI Grid for MVC? 

Suggested Workarounds

By default, the data source of the Grid is used as is. However, you can still work around this issue.

Provide a separate, custom data source which can be sorted in the desired sort order.

columns.Bound(p => p.Details).Filterable(ftb =>
{
  ftb.Multi(true);
  ftb.Search(true);
  ftb.DataSource(dataSource => dataSource
    .Custom()
    .Transport(t => t.Read("ReadGridItems", "Grid"))
    .Schema(schema => schema
    .Data("Data"))
    .Sort(sort => {
        sort.Add("Details").Descending();
    })
  );
});

See Also

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy