Defines the fluent interface for configuring bound columns sortable options
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class GridBoundColumnSortableBuilder
Inheritance: objectGridBoundColumnSortableBuilder
Inherited Members
Constructors
Initializes a new instance of the GridBoundColumnSortableBuilder class.
C#
public GridBoundColumnSortableBuilder(GridBoundColumnSortableSettings settings)
The settings.
Methods
Sets a value determining whether the column can be unsorted or not.
C#
public GridBoundColumnSortableBuilder AllowUnsort(bool allowUnsort)
The a value determining whether the column can be unsorted (true) or not (false).
Returns:Sets a JavaScript function which is used to compare the values.
C#
public GridBoundColumnSortableBuilder Compare(string handler)
The JavaScript handler.
Returns:Determines the initial sort direction.
C#
public GridBoundColumnSortableBuilder InitialDirection(ListSortDirection initialDirection)
The initial sort direction.
Returns: