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
DimensionsGenerationMode.Metadata issues
posted

Hello,

We have a very complex application using the pivot grid that Todor helped us with a couple of years ago and we are now improving it. One of the things I have tried to do is change the flatDataSource.DimensionsGenerationMode to be DimensionsGenerationMode.Metadata instead of the default Property value so we can start hiding properties we do not want to show. We are using 12.2 with the latest service release.

I have created the hierarchy level descriptors etc but for some reason we are not getting the flatDataSource.Rows.CollectionChanging event when we make the change. Before the change was made we would the event and we get rows in the Rows collection of the flatDataSource.OlapViewModel.Rows. After the change we do not get either.

I must be doing something wrong but Im not sure what exactly Im missing. Everthing is done in the code (not the XAML) and the code is quite large so no point in me posting it up here without some guidance as to what you need.

Perhaps you already have some thoughts on what I might have missed.

Many thanks,
Doug Rees
Ralph Lauren.

Parents
  • 30945
    Verified Answer
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into your post and I have created a sample application to test the issue that you have described. I have created a FlatDataSource with DimensionGenerationMode set to Metadata and when I add a dimension to the Rows of the XamPivotGrid or the XamPivotDataSelector, the CollectionChanging event of the Rows collection of the FlatDataSouruce is fired. I have tested the sample application with both the RTM and the latest service release of version 12.2 and the event is firing. I am attaching my sample application.

     

    Would you please let me know if you can reproduce the same behavior using the sample application and if not, would you please modify it to show the issue, so I will be able to research what might be the reason for it more accurately?

     

    Looking forward to hearing from you.

     

    Sincerely,

    Krasimir

    Developer Support Engineer

    Infragistics

    www.infragistics.com/support

    FlatDataDimensionsGenerationMode.zip
Reply Children