The PivotGrid component supports OLAP services (Microsoft SQL Server Analysis Services). This demo shows how to use a remote OLAP cube as the PivotGrid's data source.
Use XmlaStore to connect your component to an OLAP storage. Specify the following properties to configure it:
The OLAP server's URL.
The initial catalog that contains the OLAP cube.
The name of the OLAP cube to use from the catalog.
To display data in the PivotGrid, assign an array to the fields property. Each object in this array configures a single pivot grid field. Assign a field name to the dataField property to populate the pivot grid field with data.
You can distribute fields between four different areas: row, column, filter, and data. To specify the area, set the area property. Add measures to the "data" area and dimensions to other areas. Fields that do not belong to any area are displayed in the field chooser.