Configures the cube schema and model field definitions used to parse Ajax response data.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TModel
Syntax:
public class PivotAjaxDataSourceSchemaBuilder<TModel> where TModel : class
Inheritance: objectPivotAjaxDataSourceSchemaBuilder<TModel>
Inherited Members
Constructors
Initializes a schema builder for the specified PivotDataSource schema.
public PivotAjaxDataSourceSchemaBuilder(PivotDataSourceSchema schema)
Fields
The schema being configured.
protected readonly PivotDataSourceSchema schema
Methods
Configures the cube dimensions and measures used to interpret the flat data.
public PivotAjaxDataSourceSchemaBuilder<TModel> Cube(Action<PivotAjaxDataSourceSchemaCubeBuilder<TModel>> configurator)
Configures the cube schema.
Returns:PivotAjaxDataSourceSchemaBuilder<TModel>
The PivotAjaxDataSourceSchemaBuilder<TModel> object to support method chaining.
Configures the model fields that describe each flat data item.
public virtual PivotAjaxDataSourceSchemaBuilder<TModel> Model(Action<CustomDataSourceModelDescriptorFactory<TModel>> configurator)
Configures the data item model fields.
Returns:PivotAjaxDataSourceSchemaBuilder<TModel>
The PivotAjaxDataSourceSchemaBuilder<TModel> object to support method chaining.