Provides common fluent configuration for a custom PivotDataSource binding.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
Tbuilder
Syntax:
public class PivotCustomDataSourceBuilderBase<Tbuilder> where Tbuilder : PivotCustomDataSourceBuilderBase<Tbuilder>
Inheritance: objectPivotCustomDataSourceBuilderBase<Tbuilder>
Derived Classes:
Inherited Members
Constructors
Initializes shared custom-binding configuration for the specified data source and MVC view context.
public PivotCustomDataSourceBuilderBase(PivotDataSource dataSource, ViewContext viewContext, IUrlGenerator urlGenerator)
Fields
The PivotDataSource being configured.
protected readonly PivotDataSource dataSource
The URL generator used by the custom transport builder.
protected readonly IUrlGenerator urlGenerator
The current view context used by the custom transport builder.
protected readonly ViewContext viewContext
Methods
Configures the initial column-axis members by hierarchical name and expanded state.
public Tbuilder Columns(Action<PivotDataSourceColumnFactory> addColumnAction)
The action to configure the columns.
Returns:Tbuilder
The Tbuilder object to support method chaining.
Registers client-side event handlers for data source operations.
public Tbuilder Events(Action<DataSourceEventBuilder> configurator)
The action to configure the events.
Returns:Tbuilder
The Tbuilder object to support method chaining.
Adds initial filter descriptors for the custom data source.
public Tbuilder Filter(Action<DataSourceFilterDescriptorFactory<object>> configurator)
The action to configure the filtering.
Returns:Tbuilder
The Tbuilder object to support method chaining.
Configures the measures to load, their display axis, and optional KPI rendering types.
public Tbuilder Measures(Action<PivotDataSourceMeasureBuilder> configurator)
The action to configure the measures.
Returns:Tbuilder
The Tbuilder object to support method chaining.
Configures the initial row-axis members by hierarchical name and expanded state.
public Tbuilder Rows(Action<PivotDataSourceRowFactory> addRowAction)
The action to configure the rows.
Returns:Tbuilder
The Tbuilder object to support method chaining.
Configures the custom transport used to read pivot data and discover schema information.
public Tbuilder Transport(Action<PivotCustomDataSourceTransportBuilder> configurator)
The action to configure the transport.
Returns:Tbuilder
The Tbuilder object to support method chaining.