Kendo UI groupable TagHelper GridGroupableSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("groupable", ParentTag = "kendo-grid", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("messages", new string[] { "sort" })]
[SuppressTagRendering]
public class GridGroupableSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseGridGroupableSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-grid name="grid">
<groupable enabled="true"></groupable>
</kendo-grid>
Child Tags
Constructors
Initializes a new instance of the GridGroupableSettingsTagHelper class.
public GridGroupableSettingsTagHelper()
Properties
When set to false grouping is considered disabled.
public bool? Enabled { get; set; }
When enabled the group footer rows will remain visible when the corresponding group is collapsed.
public bool? ShowFooter { get; set; }
When enabled the group footer rows will stick to the bottom of the scrollable content area while scrolling through the group's data rows. Requires the scrollable option to be enabled. The columns must have a groupFooterTemplate defined.
public bool? StickyFooters { get; set; }
When enabled the group header rows will stick to the top of the scrollable content area while scrolling through the group's data rows. Requires the scrollable option to be enabled.
public bool? StickyHeaders { 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.