GridResizingSettingsBuilder
Defines the fluent interface for configuring
Methods
Columns(System.Boolean)
Enables or disables column resizing.
Parameters
value - System.Boolean
True to enable column resizing, otherwise false
Example
@(Html.Kendo().Grid<OrderViewModel>()
.Name("grid")
.Columns(columns =>
{
columns.Bound(p => p.OrderID).Filterable(false);
columns.Bound(p => p.Freight);
})
.Scrollable()
.Resizable(r => r.Columns(true))
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(20)
.Read(read => read.Action("Orders_Read", "Grid"))
)
)