Skip to main content

PivotGridBuilder<T>.DataSource(Action<PivotGridDataSourceBuilder<T>>) Method

Binds a PivotGrid control to data from an OLAP cube.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public PivotGridBuilder<T> DataSource(
    Action<PivotGridDataSourceBuilder<T>> configurator
)

Parameters

Name Type Description
configurator Action<PivotGridDataSourceBuilder<T>>

A function that allows you to configure data access.

Returns

Type Description
PivotGridBuilder<T>

A reference to this instance after the method is called.

See Also