We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Programmatically Collapse Groups in Pivot Grid

Thread ID:





109506 Jun 17,2013 07:50 PM UTC Jul 24,2013 04:36 AM UTC WinForms 3
Tags: PivotGridControl
Chris Bishop
Asked On June 17, 2013 07:50 PM UTC


I am unable to figure out how to collapse a group in a pivot Grid.

I have tried pivotgrid.TableControl.CollapseAll() but that doesn't work.

Any help would be appreciated.


Vinish Kumar K [Syncfusion]
Replied On June 24, 2013 03:59 AM UTC

Hi Chris,


Thanks for your interest in Syncfusion products.



Collapse all records

You can collapse aall groups of pivot grid using below code.





Please let me know if this helps to you, else please let me know with any reproducible sample. We will provide solution for this issue.




Chris Bishop
Replied On July 15, 2013 08:06 PM UTC

Thank You for your reply.

I tried the code you posted but it does nothing.

I used it in the Pivot Grid demo for  I created a button, dropped in the code and nothing.

Do you have an example of this code working?

Vinish Kumar K [Syncfusion]
Replied On July 24, 2013 04:36 AM UTC

Hi Chris,


Sorry for the inconvenience caused.


We have analyzed the reported issue in our end along with your query, In our end also the provided CollapseAllGroup doesn’t works, So we have reported this issue to our development team. So We request you to please create incident for this query with your first update. We will provide the timeline for this issue if its occur in our source.  



Vinish K


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon