Kendo UI scrollable TagHelper GridScrollableSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("scrollable", ParentTag = "kendo-grid", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class GridScrollableSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseGridScrollableSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-grid name="grid">
<scrollable enabled="true" />
</kendo-grid>
Constructors
Initializes a new instance of the GridScrollableSettingsTagHelper class.
public GridScrollableSettingsTagHelper()
Properties
If set to true the grid will always display a single page of data. Scrolling to the end will load more items untill all items are displayed.
public bool? Endless { get; set; }
Configures the grid virtualization settings. If set to true the grid will enable row virtualization and display a single page of data. Scrolling would just change the data which is currently displayed.Can also be set to the following string values: "rows" - enables virtualization of rows.; "columns" - enables virtualization of columns. or "rows, columns" - enables virtualization of both rows and columns..
public object Virtual { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.