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
Just to be clear would you please specify the type of data source that you use- are you using Custom data provider or flat data source.
@Todor
Can I remove the "All" levels through the control so it doesn't even make the request? When I run the SQL profiler on the communication between the control and the server I see specific requests for “All” and then those results are coming back.
@Elena
I’m using that new WCF service code that you sent me and all of that is working nicely. I just want to be able to tweak that control visually so I don’t see the redundant rows, columns and headings.
Maybe I should escalate this into a ticket, that way I can attach sample code rather than trying to post it here. I really like the functionality of the control, but getting it to look just right seems kind of hit and miss. I'll go ahead and open a new ticket for this. Thanks!
After some research, adding a build in functionality that hides the totals has been determined to be a new feature request. I have sent your feature request directly to our product management team. Our product team chooses new feature requests for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.
If your feature is chosen for development, you will be notified at that time. Your reference number for this feature request is FR13954.
Thank you for your request.
I should add that I would also like to see this feature implemented in a future release version. With some effort, we have been able to remove the "All" hierarchy level for everything but the top level of the row dimensions, but it would be better if this entire function were easily controllable on a global level. From my perspective, the whole point of buying third party controls is that they save the individual developer time. The more that I have to "program around" a third-party control, the less valuable it becomes to me. Thank you for your time.