GridReorderingSettingsBuilder
Methods
Columns(System.Boolean)
Enables or disables column reordering.
Parameters
value - System.Boolean
True to enable column reordering, otherwise false
Rows(System.Boolean)
Enables or disables row reordering.
Parameters
value - System.Boolean
True to enable column reordering, otherwise false
Rows(System.Action)
Sets the reordering configuration of the grid.
Parameters
configurator - System.Action<GridReorderingRowsSettingsBuilder>
The lambda which configures the rows reordering
Example
@(Html.Kendo().Grid<Product>()
.Name("Grid")
.DataSource(dataSource =>
// configure the data source
dataSource
.Ajax()
.Read(read => read.Action("Products_Read", "Home"))
)
.Reorderable(reordering => reordering.Rows(rows => rows.ClickMoveClick(true)))
)