Kendo UI GridPinnableSettings TagHelper
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("pinnable", ParentTag = "kendo-grid", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class GridPinnableSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseGridPinnableSettingsTagHelper
Implements:
Inherited Members
Constructors
Initializes a new instance of the GridPinnableSettingsTagHelper class.
public GridPinnableSettingsTagHelper()
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; }
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 string IsRowPinnable { get; set; }
Controls where rows can be pinned.
public GridPinRowLocation? PinRowLocation { get; set; }
Methods
Adds the current instance to the parent TagHelper, if applicable.
protected override void AddSelfToParent(TagHelperContext context)
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.