Refresh PivotGrid when ItemSource Changes

2 posts, 0 answers
  1. Darren
    Darren avatar
    9 posts
    Member since:
    Mar 2016

    Posted 09 Nov 2017 Link to this post

    Is there a way to refresh the Data when the Grid Changes without setting the itemsource to null and then setting it to the list?

    I find doing this resets row and column collapsing.

    Or can I bind the PivotGrid directly to an ObservableCollection without using the LocalDataSourceProvider?


    Thanks in Advance



  2. Martin Ivanov
    Martin Ivanov avatar
    2298 posts

    Posted 14 Nov 2017 Link to this post

    Hello Darren,

    Can you take a look at the DataProvider Refresh section on the Populating with Data documentation of RadPivotGrid? Does that work for you?

    Also, the pivot grid control works with any collection that implements the IEnumerable interfrace so you can use ObservableCollection. See the First Look demo of RadPivotGrid in the demos app. Note that this example doesn't list all required files in the application so to get them and what happens you will need to get the demos app source solution.

    Martin Ivanov
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top