Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to customize a data store schema for dashboard data sources

$
0
0

This example demonstrates how to customize a data store schema for a dashboard data source that uses a connection to the Northwind database.


In this example, the IDBSchemaProvider interface is implemented by a class that defines a custom data store schema. The GetSchema method returns tables and columns (with specified aliases) which will be included to a data store schema.


To see the result, create a new data source using the existing connection ("Connection 1") or edit the existing data source.

Question Comments

Added By: Mariusz Muszalski at: 2/16/2015 3:31:54 AM    

I use ConfigureDataConnection event to provide connection details for my dashboard designer. The data source is OLAP (tabular). Can I use solution above to customize names of fields in field chooser?

Added By: Andrew Aks (DevExpress) at: 2/16/2015 5:29:48 AM    

This approach can be used only for SQL data sources. We will update the Provide a way to localize OLAP cube structure in Dashboard Designer request when a similar capability is added for OLAP data sources.


Viewing all articles
Browse latest Browse all 7205

Trending Articles