New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Selects the XMLA or custom data binding used by a PivotGridV2 data source.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TModel

Syntax:

C#
public class PivotDataSourceV2Builder<TModel> where TModel : class

Inheritance: objectPivotDataSourceV2Builder<TModel>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a binding selector for the specified data source and MVC view context.

C#
public PivotDataSourceV2Builder(PivotDataSource dataSource, ViewContext viewContext, IUrlGenerator urlGenerator)
Parameters:dataSourcePivotDataSourceviewContextViewContexturlGeneratorIUrlGenerator

Fields

The PivotDataSource being configured.

C#
protected readonly PivotDataSource dataSource

The URL generator used by transport builders.

C#
protected readonly IUrlGenerator urlGenerator

The current view context used by transport builders.

C#
protected readonly ViewContext viewContext

Methods

Selects custom binding and returns a builder for configuring the response schema, transport, axes, measures, and filters.

C#
public PivotCustomDataSourceV2Builder<TModel> Custom()
Returns:

PivotCustomDataSourceV2Builder<TModel>

Returns the current PivotCustomDataSourceV2Builder<TModel> instance.

Selects XMLA binding for multidimensional data and returns a builder for configuring the cube connection, axes, measures, and requests.

C#
public PivotXmlaDataSourceBuilder Xmla()
Returns:

PivotXmlaDataSourceBuilder

Returns the current PivotXmlaDataSourceBuilder instance.