New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Kendo.Mvc.UI.PivotGridV2

Kendo UI PivotGridV2 component

Properties

DataSource

The data source of the widget which is used to display values. Can be a JavaScript object which represents a valid data source configuration or an existing kendo.data.PivotDataSourceV2 instance.If the dataSource option is set to a JavaScript object the widget will initialize a new kendo.data.PivotDataSourceV2 instance using that value as data source configuration.If the dataSource option is an existing kendo.data.PivotDataSourceV2 instance the widget will use that instance and will not initialize a new one.

AutoBind

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.

Pdf

Configures the Kendo UI PivotGridV2 PDF export settings.

ColumnWidth

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

Height

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

ColumnHeaderTemplate

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.

ColumnHeaderTemplateId

The id for the ColumnHeaderTemplate

DataCellTemplate

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.

DataCellTemplateId

The id for the DataCellTemplate

RowHeaderTemplate

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.

RowHeaderTemplateId

The id for the RowHeaderTemplate

Methods

WriteInitializationScript(System.IO.TextWriter)

Writes the initialization script.

Parameters

writer System.IO.TextWriter

The TextWriter.

WriteHtml(System.Web.UI.HtmlTextWriter)

Writes the HTML.

Parameters

writer System.Web.UI.HtmlTextWriter

The HtmlTextWriter.

In this article
Not finding the help you need?