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

Defines the fluent interface for configuring Selectable

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class GridAllowCopyBuilder

Inheritance: objectGridAllowCopyBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public GridAllowCopyBuilder(AllowCopySettings settings)
Parameters:settingsAllowCopySettings

Methods

Specifies whether multiple or single selection is allowed.

C#
public GridAllowCopyBuilder Delimeter(string value)
Parameters:valuestringReturns:

GridAllowCopyBuilder

The Mode method is useful to switch between different selection modes.

Example:
C#
@(Html.Kendo().Grid(Model)
.Name("Grid")
.Selectable(selection => selection.Delimeter((bool)ViewData["selectionMode"]))
)

Enables or disables AllowCopy.

C#
public GridAllowCopyBuilder Enabled(bool value)
Parameters:valueboolReturns:

GridAllowCopyBuilder

The Enabled method is useful when you need to enable scrolling based on certain conditions.

Example:
C#
@(Html.Kendo().Grid(Model)
.Name("Grid")
.AllowCopy(config => config.Enabled((bool)ViewData["allowCopy"]))
)