PivotGrid<T>
Kendo UI PivotGrid component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class PivotGrid<T> : WidgetBase, IHtmlAttributesContainer where T : class
Inheritance: objectWidgetBasePivotGrid<T>
Implements:
Inherited Members
Constructors
Initializes a new instance of the PivotGrid<T> class.
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.
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.
public string ColumnHeaderTemplate { get; set; }
The handler that returns the template used for ColumnHeaderTemplate
public string ColumnHeaderTemplateHandler { get; set; }
The id of the script element used for ColumnHeaderTemplate
public string ColumnHeaderTemplateId { get; set; }
The width of the table columns. Value is treated as pixels.
public double? ColumnWidth { get; set; }
Gets or sets the Configurator.
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.
public string DataCellTemplate { get; set; }
The handler that returns the template used for DataCellTemplate
public string DataCellTemplateHandler { get; set; }
The id of the script element used for DataCellTemplate
public string DataCellTemplateId { get; set; }
Gets or sets the DataSource.
public PivotDataSource DataSource { get; }
Gets or sets the DataSourceId.
public string DataSourceId { get; set; }
Configures the Kendo UI PivotGrid Excel export settings.
public PivotGridExcelSettings<T> Excel { get; }
If set to true the user will be able to filter by using the field menu.
public bool? Filterable { get; set; }
The height of the PivotGrid. Numeric values are treated as pixels.
public double? Height { get; set; }
KPIStatusTemplate member.
public string KPIStatusTemplate { get; set; }
KPIStatusTemplateHandler member.
public string KPIStatusTemplateHandler { get; set; }
KPIStatusTemplateId member.
public string KPIStatusTemplateId { get; set; }
KPITrendTemplate member.
public string KPITrendTemplate { get; set; }
KPITrendTemplateHandler member.
public string KPITrendTemplateHandler { get; set; }
KPITrendTemplateId member.
public string KPITrendTemplateId { get; set; }
Gets or sets the Messages.
public PivotGridMessages Messages { get; }
Configures the Kendo UI PivotGrid PDF export settings.
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.
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.
public string RowHeaderTemplate { get; set; }
The handler that returns the template used for RowHeaderTemplate
public string RowHeaderTemplateHandler { get; set; }
The id of the script element used for RowHeaderTemplate
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.
public PivotGridSortableSettings<T> Sortable { get; }
Methods
Serializes the component settings to a dictionary.
public override IDictionary<string, object> Serialize()
A dictionary of settings.
Overrides:
SerializeSettings method.
protected override Dictionary<string, object> SerializeSettings()
Overrides:
Writes the HTML content.
protected override void WriteHtml(TextWriter writer)
The text writer.
Overrides:
WriteInitializationScript method.
public override void WriteInitializationScript(TextWriter writer)
Overrides: