PivotGridBuilder<T>.DataSource(Action<PivotGridDataSourceBuilder<T>>) Method
In This Article
Binds a PivotGrid control to data from an OLAP cube.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public PivotGridBuilder<T> DataSource(
Action<PivotGridDataSourceBuilder<T>> configurator
)
#Parameters
Name | Type | Description |
---|---|---|
configurator | Action<Pivot |
A function that allows you to configure data access. |
#Returns
Type | Description |
---|---|
Pivot |
A reference to this instance after the method is called. |
See Also