Hello,
I'm using a XamPivotTable (NetAdvantage 12.2) and need to expand all hierarchies/dimensions before an Excel export. Otherwise the values others than level 1 aren't loaded and can not be exorted! I tryed this one, but it doesn't worked: http://help.infragistics.com/Help/NetAdvantage/WPFDV/2011.1/CLR4.0/html/xamPivotGrid_US_Expanding_Hierarchies_In_Runtime_From_Code.html#seealsobookmark
Could you tell me how I can achieve this?
HI Mwicke,
Here a link for 12.2
http://help.infragistics.com/NetAdvantage/WPF/Current/CLR4.0/?page=xamPivotGrid_US_Expanding_Hierarchies_In_Runtime_From_Code.html
Sincerely, Matt Developer Support Engineer
Thanks, but I don't see any changes to the link I posted. The problem is this solutions don't seem to work because I want to expand all dimensions in a method in my viewmodel not in an event in codebehind (as far as possible). This is the same method where in the next step I'm looping PivotGrid.GridLayout.RowHeaderCells but they are just containing the first row header. So there is no user interaction like clicking in the grid other than clicking an excel export button.