DevExtreme Angular - XmlaStore Properties
beforeSend
Type:
Function parameters:
options:
The request parameters. When jQuery is used, this object can contain jQuery.ajax()-supported fields.
Object structure:
Name | Type | Description |
---|---|---|
data |
A query string that contains data to be sent to the server. |
|
dataType |
The expected result's data type. |
|
headers |
The request headers. |
|
method |
The request method ("GET", "POST", "PATCH", or "MERGE"). |
|
url |
The request URL. |
|
xhrFields |
Native XMLHttpRequest object properties. |
TypeScript
- import PivotGridDataSource from "devextreme/ui/pivot_grid/data_source";
- import XmlaStore from "devextreme/ui/pivot_grid/xmla_store";
- // ...
- export class AppComponent {
- pivotGridDataSource: PivotGridDataSource;
- constructor() {
- this.pivotGridDataSource = new PivotGridDataSource({
- // ...
- store: new XmlaStore({
- url: "https://my-web-srv01/OLAP/msmdpump.dll",
- catalog: "AdventureWorksDW2012",
- cube: "Adventure Works",
- beforeSend: (e) => {
- e.headers = {
- "Custom Header": "value"
- }
- }
- })
- });
- }
- }
url
Type:
This should be the MSMDPUMP.dll URL and usually has the following format: http://<servername>/OLAP/msmdpump.dll.
TypeScript
- import PivotGridDataSource from "devextreme/ui/pivot_grid/data_source";
- import XmlaStore from "devextreme/ui/pivot_grid/xmla_store";
- // ...
- export class AppComponent {
- pivotGridDataSource: PivotGridDataSource;
- constructor() {
- this.pivotGridDataSource = new PivotGridDataSource({
- // ...
- store: new XmlaStore({
- url: "https://my-web-srv01/OLAP/msmdpump.dll",
- catalog: "AdventureWorksDW2012",
- cube: "Adventure Works"
- })
- });
- }
- }
Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.