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

PivotCustomDataSourceV2Builder

Methods

Schema(System.Action)

Configures the schema of the custom DataSource

Parameters

configurator - System.Action<PivotAjaxDataSourceSchemaBuilder>

The lambda that configures the DataSource schema settings.

Example


            @(Html.Kendo().PivotGridV2()
                .Name("pivotgrid")
                .DataSource(dataSource => dataSource.Custom()
                    .Schema(schema => schema.Model(model => model.Id("ProductID")))
                )
            )

Filter(System.Action)

Configures the initial filtering.

Parameters

configurator - System.Action<DataSourceFilterDescriptorFactory>

The lambda that configures the DataSource filter settings.

Example


            @(Html.Kendo().PivotGridV2<ProductViewModel>()
                .Name("pivotgrid")
                .BindTo(Model)
                .DataSource(dataSource => dataSource.Custom()
                    .Filter(f => f.Add(m => m.ProductName).Equals("Bread")))
                )
            )

Events(System.Action)

Configures the client-side events

Parameters

configurator - System.Action<DataSourceEventBuilder>

Transport(System.Action)

Configures the transport of the Custom DataSource

Parameters

configurator - System.Action<PivotCustomDataSourceTransportBuilder>

Columns(System.Action)

Sets the columns of the Custom DataSource.

Parameters

addColumnAction - System.Action<PivotDataSourceColumnFactory>

Rows(System.Action)

Sets the rows of the Custom DataSource.

Parameters

addRowAction - System.Action<PivotDataSourceRowFactory>

Measures(System.Action)

Sets the measures of the Custom DataSource.

Parameters

configurator - System.Action<PivotDataSourceMeasureBuilder>

Filter(System.Action)

Configures the initial filtering.

Parameters

configurator - System.Action<DataSourceFilterDescriptorFactory>
In this article
Not finding the help you need?