Configures a PivotDataSourceV2 for PivotGridV2 or PivotConfiguratorV2, using shared DataSource settings and pivot axes, measures, schema, and transport. The client data source defaults to XMLA when no type is specified.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("kendo-pivotdatasourcev2")]
[HtmlTargetElement("pivot-datasource", ParentTag = "kendo-pivotgridv2")]
[HtmlTargetElement("pivot-datasource", ParentTag = "kendo-pivotconfiguratorv2")]
[RestrictChildren("columns", new string[] { "rows", "measures", "transport", "schema", "filters" })]
public class PivotDataSourceV2TagHelper : PivotDataSourceBaseTagHelper, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperBaseDataSourceTagHelperPivotDataSourceBaseTagHelperPivotDataSourceV2TagHelper...
Implements:
Inherited Members
Child Tags
Constructors
Initializes a new instance of the PivotDataSourceV2TagHelper class.
C#
public PivotDataSourceV2TagHelper(IKendoHtmlGenerator generator)
Methods
Gets the initialization script.
C#
protected override string GetInitializationScript()
The initialization script.
Overrides:
C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.
C#
public override IDictionary<string, object> Serialize()
Overrides:
SetDataSource method.
Writes the HTML output.
C#
protected override void WriteHtml(TagHelperOutput output)
The TagHelper output.
Overrides: