Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1360
Update pivot grid on data changes
posted

I am using a flatdatasource and would like the xampivotgrid to display changes in the actual data values either on a button click or automatically. So if the data is modified by another control or in the background I want to refresh the values as efficiently as possible.

I cannot find how to do this. The RefreshGrid method does not seem to reflect my data changes so can someone please help?

Regards,
Doug Rees

Polo Ralph Lauren

Parents
No Data
Reply
  • 8831
    posted

    Hello Doug,

    FlatDataSource does not track INotifyPropertyChanged events fired by instances of its ItemsSource but it tracks INotifyCollectionChanged of items source and updates its UI automatically.

     

    Another way to enforce that to happen is to set ItemsSource to null and set it back again to your IEnumerable.

     

    Regards.

    Plamen.

Children