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

Defines the fluent API for configuring GridPinnableSettings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class GridPinnableSettingsBuilder<T> where T : class

Inheritance: objectGridPinnableSettingsBuilder<T>

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

Constructors

Initializes a new instance of the GridPinnableSettingsBuilder<T> class.

C#
public GridPinnableSettingsBuilder(GridPinnableSettings container)
Parameters:containerGridPinnableSettings

The pinnable settings.

Properties

C#
protected GridPinnableSettings Container { get; }

Methods

Sets the data items pinned to the bottom of the Grid.

C#
public GridPinnableSettingsBuilder<T> Bottom(IEnumerable value)
Parameters:valueIEnumerable

A collection of data item identifiers to pin to the bottom.

Returns:

GridPinnableSettingsBuilder<T>

Sets the data items pinned to the bottom of the Grid.

C#
public GridPinnableSettingsBuilder<T> Bottom(params object[] value)
Parameters:valueobject[]

The data item identifiers to pin to the bottom.

Returns:

GridPinnableSettingsBuilder<T>

A function that determines whether a specific row can be pinned.

C#
public GridPinnableSettingsBuilder<T> IsRowPinnable(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

GridPinnableSettingsBuilder<T>

A function that determines whether a specific row can be pinned.

C#
public GridPinnableSettingsBuilder<T> IsRowPinnable(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

GridPinnableSettingsBuilder<T>

Controls where rows can be pinned.

C#
public GridPinnableSettingsBuilder<T> PinRowLocation(GridPinRowLocation value)
Parameters:valueGridPinRowLocation

The pin row location.

Returns:

GridPinnableSettingsBuilder<T>

Sets the data items pinned to the top of the Grid.

C#
public GridPinnableSettingsBuilder<T> Top(IEnumerable value)
Parameters:valueIEnumerable

A collection of data item identifiers to pin to the top.

Returns:

GridPinnableSettingsBuilder<T>

Sets the data items pinned to the top of the Grid.

C#
public GridPinnableSettingsBuilder<T> Top(params object[] value)
Parameters:valueobject[]

The data item identifiers to pin to the top.

Returns:

GridPinnableSettingsBuilder<T>