Defines the fluent API for configuring grouping.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class GridGroupableSortSettingsBuilder<T> where T : class
Inheritance: objectGridGroupableSortSettingsBuilder<T>
Inherited Members
Constructors
GridGroupableSortSettingsBuilder method.
public GridGroupableSortSettingsBuilder(GridGroupableSortSettings<T> container)
Properties
Gets or sets the Container.
protected GridGroupableSortSettings<T> Container { get; }
Methods
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.
public GridGroupableSortSettingsBuilder<T> Compare(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:GridGroupableSortSettingsBuilder<T>
Returns the current GridGroupableSortSettingsBuilder<T> instance.
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.
public GridGroupableSortSettingsBuilder<T> Compare(string handler)
The name of the JavaScript function that will be evaluated.
Returns:GridGroupableSortSettingsBuilder<T>
Returns the current GridGroupableSortSettingsBuilder<T> instance.
The sort order of the groups according to the group field.The supported values are: "asc" (ascending order) or "desc" (descending order).
public GridGroupableSortSettingsBuilder<T> Dir(ListSortDirection? value)
The value for Dir
Returns:GridGroupableSortSettingsBuilder<T>
Returns the current GridGroupableSortSettingsBuilder<T> instance.