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

Maps custom service response fields and functions to PivotDataSource schema metadata.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PivotCustomDataSourceSchemaBuilder

Inheritance: objectPivotCustomDataSourceSchemaBuilder

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

Constructors

Initializes a schema builder for the specified custom PivotDataSource schema.

C#
public PivotCustomDataSourceSchemaBuilder(PivotDataSourceSchema schema)
Parameters:schemaPivotDataSourceSchema

Fields

The schema whose response-field mappings are being configured.

C#
protected readonly PivotDataSourceSchema schema

Methods

Sets a client-side function that returns row and column axes data from the response.

C#
public virtual PivotCustomDataSourceSchemaBuilder Axes(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

PivotCustomDataSourceSchemaBuilder

The PivotCustomDataSourceSchemaBuilder object to support method chaining.

Maps the response field that contains the row and column axes data.

C#
public virtual PivotCustomDataSourceSchemaBuilder Axes(string axes)
Parameters:axesstring

Axes option

Returns:

PivotCustomDataSourceSchemaBuilder

The PivotCustomDataSourceSchemaBuilder object to support method chaining.

Sets a client-side function that returns catalog schema information from the response.

C#
public virtual PivotCustomDataSourceSchemaBuilder Catalogs(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

PivotCustomDataSourceSchemaBuilder

The PivotCustomDataSourceSchemaBuilder object to support method chaining.

Maps the response field that contains the catalogs available on the server.

C#
public virtual PivotCustomDataSourceSchemaBuilder Catalogs(string catalogs)
Parameters:catalogsstring

Catalogs option

Returns:

PivotCustomDataSourceSchemaBuilder

The PivotCustomDataSourceSchemaBuilder object to support method chaining.

Sets a client-side function that returns cube schema information from the response.

C#
public virtual PivotCustomDataSourceSchemaBuilder Cubes(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

PivotCustomDataSourceSchemaBuilder

The PivotCustomDataSourceSchemaBuilder object to support method chaining.

Maps the response field that contains the cubes available in the catalog.

C#
public virtual PivotCustomDataSourceSchemaBuilder Cubes(string cubes)
Parameters:cubesstring

Cubes option

Returns:

PivotCustomDataSourceSchemaBuilder

The PivotCustomDataSourceSchemaBuilder object to support method chaining.

Sets a client-side function that returns dimension schema information from the response.

C#
public virtual PivotCustomDataSourceSchemaBuilder Dimensions(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

PivotCustomDataSourceSchemaBuilder

The PivotCustomDataSourceSchemaBuilder object to support method chaining.

Maps the response field that contains dimension schema information.

C#
public virtual PivotCustomDataSourceSchemaBuilder Dimensions(string dimensions)
Parameters:dimensionsstring

Dimensions option

Returns:

PivotCustomDataSourceSchemaBuilder

The PivotCustomDataSourceSchemaBuilder object to support method chaining.

Sets a client-side function that returns hierarchy schema information from the response.

C#
public virtual PivotCustomDataSourceSchemaBuilder Hierarchies(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

PivotCustomDataSourceSchemaBuilder

The PivotCustomDataSourceSchemaBuilder object to support method chaining.

Maps the response field that contains hierarchy schema information.

C#
public virtual PivotCustomDataSourceSchemaBuilder Hierarchies(string hierarchies)
Parameters:hierarchiesstring

Hierarchies option

Returns:

PivotCustomDataSourceSchemaBuilder

The PivotCustomDataSourceSchemaBuilder object to support method chaining.

Sets a client-side function that returns level schema information from the response.

C#
public virtual PivotCustomDataSourceSchemaBuilder Levels(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

PivotCustomDataSourceSchemaBuilder

The PivotCustomDataSourceSchemaBuilder object to support method chaining.

Maps the response field that contains level schema information.

C#
public virtual PivotCustomDataSourceSchemaBuilder Levels(string levels)
Parameters:levelsstring

Levels option

Returns:

PivotCustomDataSourceSchemaBuilder

The PivotCustomDataSourceSchemaBuilder object to support method chaining.

Sets a client-side function that returns measure schema information from the response.

C#
public virtual PivotCustomDataSourceSchemaBuilder Measures(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

PivotCustomDataSourceSchemaBuilder

The PivotCustomDataSourceSchemaBuilder object to support method chaining.

Maps the response field that contains measure schema information.

C#
public virtual PivotCustomDataSourceSchemaBuilder Measures(string measures)
Parameters:measuresstring

Measures option

Returns:

PivotCustomDataSourceSchemaBuilder

The PivotCustomDataSourceSchemaBuilder object to support method chaining.

Sets the response type used to parse the pivot schema response.

C#
public virtual PivotCustomDataSourceSchemaBuilder Type(string type)
Parameters:typestring

Type option

Returns:

PivotCustomDataSourceSchemaBuilder

The PivotCustomDataSourceSchemaBuilder object to support method chaining.