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

GridGroupableSortSettingsBuilder

Methods

Compare(System.String)

A JavaScript function which is used to compare the groups (refer to sortable for sorting the items of the groups). It has the same signature as the compare function accepted by Array.sort.

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

Compare(System.Func)

A JavaScript function which is used to compare the groups (refer to sortable for sorting the items of the groups). It has the same signature as the compare function accepted by Array.sort.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

Dir(System.Nullable)

The sort order of the groups according to the group field.The supported values are: "asc" (ascending order) or "desc" (descending order).

Parameters

value - System.Nullable<ListSortDirection>

The value for Dir

In this article
Not finding the help you need?