Defines the fluent API for groupable.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class GridBoundColumnGroupableSortBuilder
Inheritance: objectGridBoundColumnGroupableSortBuilder
Inherited Members
Constructors
GridBoundColumnGroupableSortBuilder method.
public GridBoundColumnGroupableSortBuilder(GridBoundColumnGroupableSortSettings container)
Properties
Gets the settings being configured.
protected GridBoundColumnGroupableSortSettings 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 GridBoundColumnGroupableSortBuilder Compare(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:GridBoundColumnGroupableSortBuilder
Returns the current GridBoundColumnGroupableSortBuilder instance for method chaining.
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 GridBoundColumnGroupableSortBuilder Compare(string handler)
The name of the JavaScript function that will be evaluated.
Returns:GridBoundColumnGroupableSortBuilder
Returns the current GridBoundColumnGroupableSortBuilder instance for method chaining.
Sets the sort direction when grouping.
public GridBoundColumnGroupableSortBuilder Dir(ListSortDirection value)
The sort direction of the list.
Returns:GridBoundColumnGroupableSortBuilder
Returns the current GridBoundColumnGroupableSortBuilder instance for method chaining.