Defines the fluent interface for configuring groupable sort settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class GridGroupableSortSettingsBuilder
Inheritance: objectGridGroupableSortSettingsBuilder
Inherited Members
Constructors
Initializes a new instance of the GridGroupableSortSettingsBuilder class.
C#
public GridGroupableSortSettingsBuilder(GridGroupableSortSettings settings)
The settings.
Methods
Sets the sort compare when grouping.
C#
public GridGroupableSortSettingsBuilder Compare(string compare)
The name of 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.
Returns:Sets the sort direction when grouping.
C#
public GridGroupableSortSettingsBuilder Dir(ListSortDirection direction)
The sort order of the groups according to the group field.
Returns: