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

Kendo UI PivotGrid component

Definition

Constructors

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

C#
public PivotGrid(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; }

Gets or sets the Configurator.

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 PivotGrid Excel export settings.

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

If set to true the user will be able to filter by using the field menu.

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

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

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

KPIStatusTemplate member.

C#
public string KPIStatusTemplate { get; set; }

KPIStatusTemplateHandler member.

C#
public string KPIStatusTemplateHandler { get; set; }

KPIStatusTemplateId member.

C#
public string KPIStatusTemplateId { get; set; }

KPITrendTemplate member.

C#
public string KPITrendTemplate { get; set; }

KPITrendTemplateHandler member.

C#
public string KPITrendTemplateHandler { get; set; }

KPITrendTemplateId member.

C#
public string KPITrendTemplateId { get; set; }

Gets or sets the Messages.

C#
public PivotGridMessages Messages { get; }

Configures the Kendo UI PivotGrid PDF export settings.

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

If set to false the user will not be able to add/close/reorder current fields for columns/rows/measures.

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

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; }

If set to true the user could sort the pivotgrid by clicking the dimension fields. By default sorting is disabled.Can be set to a JavaScript object which represents the sorting configuration.

C#
public PivotGridSortableSettings<T> Sortable { get; }

Methods

Serializes the component settings to a dictionary.

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

A dictionary of settings.

Overrides: WidgetBase.Serialize()

SerializeSettings method.

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

Dictionary<string, object>

Overrides: WidgetBase.SerializeSettings()

Writes the HTML content.

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

The text writer.

Overrides: WidgetBase.WriteHtml(TextWriter)

WriteInitializationScript method.

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

Overrides: WidgetBase.WriteInitializationScript(TextWriter)