This example demonstrates how to fetch data from the GridDashboardItem placed in the DashboardViewer class instance. To get data from the item, the DashboardViewer.GetItemData method is used. Please look at the static GridDashboardItemToDataTableHelper class. With a MultiDimensionalData class instance, it is possible to create columns (see the CreateColumnsByGridDashboardItem method) and fill a DataTable (see the AddRowsByGridDashboardItem method). This table will be further used in a report to perform the export. I used the report from the How to export the GridDashboardItem item data to Excel from a web solution example.
↧