Kendo UI GridPinnableSettings class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class GridPinnableSettings<T> where T : class
Inheritance: objectGridPinnableSettings<T>
Inherited Members
Constructors
public GridPinnableSettings()
Properties
An array of data item ID values that will be pinned to the bottom of the Grid on initialization.
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.
public bool? Enabled { 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.
public ClientHandlerDescriptor IsRowPinnable { get; set; }
Controls where rows can be pinned.
public GridPinRowLocation? PinRowLocation { get; set; }
Methods
Serialize current instance to Dictionary
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()