PivotGridV2<TModel>
Kendo UI PivotGridV2 component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
TModel
Syntax:
public class PivotGridV2<TModel> : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent where TModel : class
Inheritance: objectWidgetBasePivotGridV2<TModel>
Implements:
Inherited Members
Constructors
Initializes a new instance of the PivotGridV2 class.
public PivotGridV2(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
The view context
initializerIJavaScriptInitializerThe JavaScriptInitializer
urlGeneratorIUrlGeneratorThe URL generator.
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; }
public string ColumnHeaderTemplateHandler { get; set; }
The id for the ColumnHeaderTemplate
public string ColumnHeaderTemplateId { get; set; }
The width of the table columns. Value is treated as pixels.
public double? ColumnWidth { get; set; }
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; }
public string DataCellTemplateHandler { get; set; }
The id for the DataCellTemplate
public string DataCellTemplateId { get; set; }
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.
public PivotDataSource DataSource { get; }
public string DataSourceId { get; set; }
Configures the Kendo UI PivotGridV2 Excel export settings.
public PivotGridV2ExcelSettings Excel { get; }
The height of the PivotGridV2. Numeric values are treated as pixels.
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.
public string KpiStatusTemplate { get; set; }
The handler that returns the template used for KpiStatusTemplate
public string KpiStatusTemplateHandler { get; set; }
The id of the script element used for KpiStatusTemplate
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.
public string KpiTrendTemplate { get; set; }
The handler that returns the template used for KpiTrendTemplate
public string KpiTrendTemplateHandler { get; set; }
The id of the script element used for KpiTrendTemplate
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.
public bool? Navigatable { get; set; }
Configures the Kendo UI PivotGridV2 PDF export settings.
public PivotGridV2PdfSettings Pdf { 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; }
public string RowHeaderTemplateHandler { get; set; }
The id for the RowHeaderTemplate
public string RowHeaderTemplateId { get; set; }
public IUrlGenerator UrlGenerator { get; }
Methods
Writes the HTML.
protected override void WriteHtml(HtmlTextWriter writer)
The HtmlTextWriter.
Overrides:
Writes the initialization script.
public override void WriteInitializationScript(TextWriter writer)
The TextWriter.
Overrides: