Defines the fluent API for configuring the Telerik UI for ASP.NET Core PivotGridV2
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class PivotGridV2Builder<T> : WidgetBuilderBase<PivotGridV2<T>, PivotGridV2Builder<T>>, IHtmlContent where T : class
Inheritance: objectHelperResultWidgetBuilderBase<PivotGridV2<T>, PivotGridV2Builder<T>>PivotGridV2Builder<T>
Implements:
Inherited Members
Constructors
Initializes a new instance of the PivotGridV2Builder<T> class.
Methods
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 PivotGridV2Builder<T> AutoBind(bool value)
The value for AutoBind
Returns:Returns the current PivotGridV2Builder<T> instance.
Binds the PivotGridV2 to a collection of objects (local data).
public PivotGridV2Builder<T> BindTo(IEnumerable<T> dataSource)
The IEnumerable collection that contains the data.
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> ColumnHeaderTemplate(string value)
The value for ColumnHeaderTemplate
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> ColumnHeaderTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the columnheadertemplate.
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> ColumnHeaderTemplateHandler(string templateHandler)
The handler that returs the template for ColumnHeaderTemplate
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> ColumnHeaderTemplateId(string templateId)
The ID of the template element for ColumnHeaderTemplate
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> ColumnHeaderTemplateView(IHtmlContent templateView)
The view that contains the template for ColumnHeaderTemplate
Returns:Returns the current PivotGridV2Builder<T> instance.
The width of the table columns. Value is treated as pixels.
public PivotGridV2Builder<T> ColumnWidth(double value)
The value for ColumnWidth
Returns:Returns the current PivotGridV2Builder<T> instance.
Defines the PivotConfiguratorV2.
public PivotGridV2Builder<T> Configurator(string configurator)
The Name() option of the PivotConfiguratorV2.
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> DataCellTemplate(string value)
The value for DataCellTemplate
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> DataCellTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the datacelltemplate.
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> DataCellTemplateHandler(string templateHandler)
The handler that returs the template for DataCellTemplate
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> DataCellTemplateId(string templateId)
The ID of the template element for DataCellTemplate
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> DataCellTemplateView(IHtmlContent templateView)
The view that contains the template for DataCellTemplate
Returns:Returns the current PivotGridV2Builder<T> instance.
Sets the DataSource configuration of the grid.
public PivotGridV2Builder<T> DataSource(Action<PivotDataSourceV2Builder<T>> configurator)
The lambda that configures the DataSource settings.
Returns:Returns the current PivotGridV2Builder<T> instance.
Sets an existing DataSource as a DataSource of the PivotGridV2.
public PivotGridV2Builder<T> DataSource(string dataSourceId)
The name of the existing DataSource.
Returns:Returns the current PivotGridV2Builder<T> instance.
Configures the client-side events.
public PivotGridV2Builder<T> Events(Action<PivotGridV2EventBuilder> configurator)
The client events action.
Returns:Returns the current PivotGridV2Builder<T> instance.
Configures the Kendo UI PivotGridV2 Excel export settings.
public PivotGridV2Builder<T> Excel(Action<PivotGridV2ExcelSettingsBuilder<T>> configurator)
The PivotGridV2ExcelSettingsBuilder<T> for the excel setting.
Returns:Returns the current instance of PivotGridV2Builder<T> .
The height of the PivotGridV2. Numeric values are treated as pixels.
public PivotGridV2Builder<T> Height(double value)
The value for Height
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> KpiStatusTemplate(string value)
The value for KpiStatusTemplate
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> KpiStatusTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the kpistatustemplate.
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> KpiStatusTemplateHandler(string templateHandler)
The handler that returs the template for KpiStatusTemplate
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> KpiStatusTemplateId(string templateId)
The ID of the template element for KpiStatusTemplate
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> KpiStatusTemplateView(IHtmlContent templateView)
The view that contains the template for KpiStatusTemplate
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> KpiTrendTemplate(string value)
The value for KpiTrendTemplate
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> KpiTrendTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the kpitrendtemplate.
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> KpiTrendTemplateHandler(string templateHandler)
The handler that returs the template for KpiTrendTemplate
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> KpiTrendTemplateId(string templateId)
The ID of the template element for KpiTrendTemplate
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> KpiTrendTemplateView(IHtmlContent templateView)
The view that contains the template for KpiTrendTemplate
Returns:Returns the current PivotGridV2Builder<T> instance.
If set to true the user could navigate the component using the keyboard navigation. By default keyboard navigation is disabled.
public PivotGridV2Builder<T> Navigatable()
Returns the current PivotGridV2Builder<T> instance.
If set to true the user could navigate the component using the keyboard navigation. By default keyboard navigation is disabled.
public PivotGridV2Builder<T> Navigatable(bool value)
The value for Navigatable
Returns:Returns the current PivotGridV2Builder<T> instance.
Configures the Kendo UI PivotGridV2 PDF export settings.
public PivotGridV2Builder<T> Pdf(Action<PivotGridV2PdfSettingsBuilder<T>> configurator)
The PivotGridV2PdfSettingsBuilder<T> for the pdf setting.
Returns:Returns the current instance of PivotGridV2Builder<T> .
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 PivotGridV2Builder<T> RowHeaderTemplate(string value)
The value for RowHeaderTemplate
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> RowHeaderTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the rowheadertemplate.
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> RowHeaderTemplateHandler(string templateHandler)
The handler that returs the template for RowHeaderTemplate
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> RowHeaderTemplateId(string templateId)
The ID of the template element for RowHeaderTemplate
Returns:Returns the current PivotGridV2Builder<T> instance.
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 PivotGridV2Builder<T> RowHeaderTemplateView(IHtmlContent templateView)
The view that contains the template for RowHeaderTemplate
Returns:Returns the current PivotGridV2Builder<T> instance.