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

Kendo UI GridPinnableSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectGridPinnableSettings<T>

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

Constructors

C#
public GridPinnableSettings()

Properties

An array of data item ID values that will be pinned to the bottom of the Grid on initialization.

C#
public object[] Bottom { get; set; }

Enables row pinning for the Grid. When enabled, rows can be pinned to the top or bottom of the Grid so they remain visible while scrolling through the remaining data. Pinned rows are rendered in dedicated containers above and below the scrollable content area.The pinnable option can be set to true to enable the feature without initially pinned rows, or to an object specifying which rows to pin by their ID values.

C#
public bool? Enabled { get; set; }

Grid member.

C#
public Grid<T> Grid { get; set; }

A function that determines whether a specific row can be pinned. The function receives an object with a dataItem field containing the data item for the row, and must return a boolean value. When the function returns false for a row, the pin column renders an empty cell without a pin icon, the pin column context menu does not open for that row, and the pinRows method does not pin the row. Unpinning is always allowed regardless of this function's return value.

C#
public ClientHandlerDescriptor IsRowPinnable { get; set; }

Controls where rows can be pinned.

C#
public GridPinRowLocation? PinRowLocation { get; set; }

An array of data item ID values that will be pinned to the top of the Grid on initialization.

C#
public object[] Top { get; set; }

Methods

Serialize current instance to Dictionary

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>