I would like to hide the "All" sections either in XAML or in the code behind. I'm not seeing any examples or posts showing how to do this. I've attached an image showing the sections I'd like to hide.In this example I've already toggled the "All" cell to be open in the LayoutLoaded event. Since that code is preventing me from collapsing it, I'd like it hidden. I don't see a Visibilty attribute on the PivotHeaderCell.Thank you.
Hello Parker,
I have been looking into your question about hiding the totals, and I can suggest you check the following forum thread which discuss a possible approach to achieve the desired design:
http://blogs.infragistics.com/forums/p/49509/274950.aspx
If you have any further questions or concerns on that matter, please do not hesitate to ask.
Hello Elena,
I am also looking for the solution "hiding the All sections". So I have checked the forum thread you mentioned here.I manage to hide the total columns but not the area marked as crossed in the image here.
I have all the rows, filters and columns area's visibility as collapsed as follows:
void pivotGrid_Loaded(object sender, RoutedEventArgs e) { pivotGrid.FiltersDropControl.Visibility = Visibility.Collapsed; pivotGrid.RowsDropControl.Visibility = Visibility.Collapsed; pivotGrid.MeasuresDropControl.Visibility = Visibility.Collapsed; pivotGrid.ColumnsDropControl.Visibility = Visibility.Collapsed; }
Any thoughts how to get this hide?
Thanks.
Sheuly