PivotGridSortSettingsBuilder

Methods

Enabled(System.Boolean)

Enables or disables sorting.

Parameters

value - System.Boolean

Example

Razor
 
             @( Html.Kendo().PivotGrid()
                        .Name("PivotGrid")
                        .Sortable(sorting => sorting.Enabled((bool)ViewData["enableSorting"]))
            )
             

AllowUnsort(System.Boolean)

Enables or disables unsorted mode.

Parameters

value - System.Boolean

The value.

Example

Razor
 
             @( Html.Kendo().PivotGrid()
                        .Name("PivotGrid")
                        .Sortable(sorting => sorting.AllowUnsort(true))
            )