New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI PivotGridV2 component

Definition

Constructors

Initializes a new instance of the PivotGridV2<T> class.

C#
public PivotGridV2(ViewContext viewContext)
Parameters:viewContextViewContext

Properties

If set to false the widget will not bind to the data source during initialization. In this case data binding will occur when the change event of the data source is fired. By default the widget will bind to the data source specified in the configuration.

C#
public bool? AutoBind { get; set; }

The template which renders the content of the column header cell. By default it renders the caption of the tuple member.The fields which can be used in the template are: member - the member of the corresponding column header cell or tuple - the tuple of the corresponding column header cell. For information about the tuple structure check this link.

C#
public string ColumnHeaderTemplate { get; set; }

The handler that returns the template used for ColumnHeaderTemplate

C#
public string ColumnHeaderTemplateHandler { get; set; }

The id of the script element used for ColumnHeaderTemplate

C#
public string ColumnHeaderTemplateId { get; set; }

The width of the table columns. Value is treated as pixels.

C#
public double? ColumnWidth { get; set; }

Configurator member.

C#
public string Configurator { get; set; }

The template which renders the content of the data cell. By default renders the formatted value (fmtValue) of the data item.The fields which can be used in the template are: columnTuple - the tuple of the corresponding column header cell; rowTuple - the tuple of the corresponding row header cell; measure - the value of the data cell measure or dataItem - the data item itself. For information about the tuple structure check this link. About the data item structure review this help topic.

C#
public string DataCellTemplate { get; set; }

The handler that returns the template used for DataCellTemplate

C#
public string DataCellTemplateHandler { get; set; }

The id of the script element used for DataCellTemplate

C#
public string DataCellTemplateId { get; set; }

Gets or sets the DataSource.

C#
public PivotDataSource DataSource { get; }

Gets or sets the DataSourceId.

C#
public string DataSourceId { get; set; }

Configures the Kendo UI PivotGridV2 Excel export settings.

C#
public PivotGridV2ExcelSettings<T> Excel { get; }

The height of the PivotGridV2. Numeric values are treated as pixels.

C#
public double? Height { get; set; }

The template which renders the content of the KPI Status value. By default renders "open", "hold" and "denied" status icons.The fields which can be used in the template are: columnTuple - the tuple of the corresponding column header cell; rowTuple - the tuple of the corresponding row header cell; measure - the value of the data cell measure or dataItem - the data item itself.

C#
public string KpiStatusTemplate { get; set; }

The handler that returns the template used for KpiStatusTemplate

C#
public string KpiStatusTemplateHandler { get; set; }

The id of the script element used for KpiStatusTemplate

C#
public string KpiStatusTemplateId { get; set; }

The template which renders the content of the KPI Trend value. By default renders "increase", "decrease" and "equal" status icons.The fields which can be used in the template are: columnTuple - the tuple of the corresponding column header cell; rowTuple - the tuple of the corresponding row header cell; measure - the value of the data cell measure or dataItem - the data item itself.

C#
public string KpiTrendTemplate { get; set; }

The handler that returns the template used for KpiTrendTemplate

C#
public string KpiTrendTemplateHandler { get; set; }

The id of the script element used for KpiTrendTemplate

C#
public string KpiTrendTemplateId { get; set; }

If set to true the user could navigate the component using the keyboard navigation. By default keyboard navigation is disabled.

C#
public bool? Navigatable { get; set; }

Configures the Kendo UI PivotGridV2 PDF export settings.

C#
public PivotGridV2PdfSettings<T> Pdf { get; }

The template which renders the content of the row header cell. By default it renders the caption of the tuple member.The fields which can be used in the template are: member - the member of the corresponding row header cell or tuple - the tuple of the corresponding row header cell. For information about the tuple structure check this link.

C#
public string RowHeaderTemplate { get; set; }

The handler that returns the template used for RowHeaderTemplate

C#
public string RowHeaderTemplateHandler { get; set; }

The id of the script element used for RowHeaderTemplate

C#
public string RowHeaderTemplateId { get; set; }

Methods

SerializeSettings method.

C#
protected override Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>

Overrides: WidgetBase.SerializeSettings()

Writes the HTML.

C#
protected override void WriteHtml(TextWriter writer)
Parameters:writerTextWriter

Overrides: WidgetBase.WriteHtml(TextWriter)

Writes the initialization script.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

The TextWriter.

Overrides: WidgetBase.WriteInitializationScript(TextWriter)