Hi,
I want to expand all hierarchies and dimensions of xampivotgrid by default. That is when the grid loads, the user should see all items expanded. I am using flatDataSource with hierarchyLevelDescriptors as the data source.
Please Help! Thanks in advance
Hello Ritika,
Thank you for your post!
I have been looking into it and have created a small sample application for you. In the sample application I have a simple XamPivotGrid with FlatDataSource as DataSource for the grid.
Than I am creating a method called ExpandToLevel. In this method I am setting the IsExpanded property for the dimensions, that are set in the XamPivotGrid.
I have handled the ResultChanged event of the XamPivotGrid too. On this event I am getting the rows and the columns of the XamPivotGrid and assign them the ExpandToLevel method.
Please find the attached sample application and feel free to let me know if you have any further questions on this matter.
Hi Gregana,
Thank you for your help, but unfortunately your sample project did not load correctly.
Anyways, I found solution on the following thread:
http://es.infragistics.com/forums/t/47783.aspx
Thank you for the feedback. I am glad, that you have found a solution to your issue. Please do not hesitate to let me know if you have any further questions on this matter.