New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Kendo.Mvc.UI.Fluent.GridSelectionSettingsBuilder

Defines the fluent interface for configuring Selectable

Methods

Enabled(System.Boolean)

Enables or disables selection.

Example (ASPX)

<%= Html.Kendo().Grid(Model)
    .Name("Grid")
    .Selectable(selection => selection.Enabled((bool)ViewData["enableSelection"]))
%>

Mode(Kendo.Mvc.UI.GridSelectionMode)

Specifies whether multiple or single selection is allowed.

Example (ASPX)

<%= Html.Kendo().Grid(Model)
    .Name("Grid")
    .Selectable(selection => selection.Mode((bool)ViewData["selectionMode"]))
%>

Type(Kendo.Mvc.UI.GridSelectionType)

Specifies whether row or cell selection is allowed.

Example (ASPX)

<%= Html.Kendo().Grid(Model)
    .Name("Grid")
    .Selectable(selection => selection.Type((bool)ViewData["selectionType"]))
%>

IgnoreOverlapped(System.Boolean)

Specifies whether IgnoreOverlapped is enabled.

DragToSelect(System.Boolean)

When set to true, the user can drag to select multiple Grid rows or cells. Applies only for multiple row or cell selection.

In this article
Not finding the help you need?