Maps custom service response fields and functions to PivotDataSource schema metadata.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class PivotCustomDataSourceSchemaBuilder
Inheritance: objectPivotCustomDataSourceSchemaBuilder
Inherited Members
Constructors
Initializes a schema builder for the specified custom PivotDataSource schema.
public PivotCustomDataSourceSchemaBuilder(PivotDataSourceSchema schema)
Fields
The schema whose response-field mappings are being configured.
protected readonly PivotDataSourceSchema schema
Methods
Sets a client-side function that returns row and column axes data from the response.
public virtual PivotCustomDataSourceSchemaBuilder Axes(Func<object, object> handler)
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.
public virtual PivotCustomDataSourceSchemaBuilder Axes(string axes)
Axes option
Returns:PivotCustomDataSourceSchemaBuilder
The PivotCustomDataSourceSchemaBuilder object to support method chaining.
Sets a client-side function that returns catalog schema information from the response.
public virtual PivotCustomDataSourceSchemaBuilder Catalogs(Func<object, object> handler)
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.
public virtual PivotCustomDataSourceSchemaBuilder Catalogs(string catalogs)
Catalogs option
Returns:PivotCustomDataSourceSchemaBuilder
The PivotCustomDataSourceSchemaBuilder object to support method chaining.
Sets a client-side function that returns cube schema information from the response.
public virtual PivotCustomDataSourceSchemaBuilder Cubes(Func<object, object> handler)
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.
public virtual PivotCustomDataSourceSchemaBuilder Cubes(string cubes)
Cubes option
Returns:PivotCustomDataSourceSchemaBuilder
The PivotCustomDataSourceSchemaBuilder object to support method chaining.
Sets a client-side function that returns dimension schema information from the response.
public virtual PivotCustomDataSourceSchemaBuilder Dimensions(Func<object, object> handler)
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.
public virtual PivotCustomDataSourceSchemaBuilder Dimensions(string dimensions)
Dimensions option
Returns:PivotCustomDataSourceSchemaBuilder
The PivotCustomDataSourceSchemaBuilder object to support method chaining.
Sets a client-side function that returns hierarchy schema information from the response.
public virtual PivotCustomDataSourceSchemaBuilder Hierarchies(Func<object, object> handler)
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.
public virtual PivotCustomDataSourceSchemaBuilder Hierarchies(string hierarchies)
Hierarchies option
Returns:PivotCustomDataSourceSchemaBuilder
The PivotCustomDataSourceSchemaBuilder object to support method chaining.
Sets a client-side function that returns level schema information from the response.
public virtual PivotCustomDataSourceSchemaBuilder Levels(Func<object, object> handler)
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.
public virtual PivotCustomDataSourceSchemaBuilder Levels(string levels)
Levels option
Returns:PivotCustomDataSourceSchemaBuilder
The PivotCustomDataSourceSchemaBuilder object to support method chaining.
Sets a client-side function that returns measure schema information from the response.
public virtual PivotCustomDataSourceSchemaBuilder Measures(Func<object, object> handler)
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.
public virtual PivotCustomDataSourceSchemaBuilder Measures(string measures)
Measures option
Returns:PivotCustomDataSourceSchemaBuilder
The PivotCustomDataSourceSchemaBuilder object to support method chaining.
Sets the response type used to parse the pivot schema response.
public virtual PivotCustomDataSourceSchemaBuilder Type(string type)
Type option
Returns:PivotCustomDataSourceSchemaBuilder
The PivotCustomDataSourceSchemaBuilder object to support method chaining.