PivotGrid UserControl not showing in WPF Application

2 posts, 0 answers
  1. Adnane
    Adnane avatar
    1 posts
    Member since:
    May 2011

    Posted 18 Oct Link to this post

    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.
  2. Polya
    Admin
    Polya avatar
    199 posts

    Posted 19 Oct Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top