This is a migrated thread and some comments may be shown as answers.

PivotGrid UserControl not showing in WPF Application

1 Answer 93 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Adnane
Top achievements
Rank 1
Adnane asked on 18 Oct 2016, 09:12 AM
I'm working on a wpf application, i created a RADPivotGrid User control and added it to my WPF application with static ressource (Adding RadPivotGrid to your application), but its show up invisible or missing.

1 Answer, 1 is accepted

Sort by
0
Polya
Telerik team
answered on 19 Oct 2016, 10:55 AM
Hello Adnane,

The reason for the empty RadPivotGrid might be that its DataProvider is not set.
The DataProvider function is to define which properties will be shown as a Columns, Rows and Aggregates as well as provide the data for grouping, filtering and aggregating.
There are 4 DataProviders that you can choose from: LocalDataSourceProvider, QueryableDataProvider, XmlaDataProvider and AdomdDataProvider.
For example, in order to set the data using the LocalDataSourceProvider we should set its ItemsSource property: http://docs.telerik.com/devtools/wpf/controls/radpivotgrid/getting-started/getting-started#create-the-radpivotgrid-localdatasourceprovider.
You can find more information how to populate the RadPivotGrid with data using each data provider here: http://docs.telerik.com/devtools/wpf/controls/radpivotgrid/populating-with-data/populating-with-data

You can take a look at our QSF examples as well as our developer focused examples for RadPivotGrid to see how to setup and use all of the available DataProviders.

Regards,
Polya
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
PivotGrid
Asked by
Adnane
Top achievements
Rank 1
Answers by
Polya
Telerik team
Share this question
or