PivotGridDataSourceBuilder<T>.Store(Func<PivotGridStoreFactory, StoreDataSourceBuilder>) Method
Mirrors the client-side store option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public PivotGridDataSourceBuilder<T> Store(
Func<PivotGridStoreFactory, StoreDataSourceBuilder> configurator
)
Parameters
Name | Type | Description |
---|---|---|
configurator | Func<PivotGridStoreFactory, StoreDataSourceBuilder> | A function that allows you to configure access to data. |
Returns
Type | Description |
---|---|
PivotGridDataSourceBuilder<T> | A reference to this instance after the method is called. |
Remarks
@(Html.DevExtreme().PivotGrid()
.DataSource(ds => ds
.Store(s => s.Xmla()
.Url("http://my-web-srv01/OLAP/msmdpump.dll")
.Catalog("AdventureWorksDW2012")
.Cube("Adventure Works")
)
)
)
See Also