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.
Unfortunately, activation email could not send to your email. Please try again.

Programmatically Collapse Groups in Pivot Grid

Thread ID:





109506 Jun 17,2013 03:50 PM Jul 24,2013 12:36 AM Windows Forms 3
Tags: PivotGridControl
Chris Bishop
Asked On June 17, 2013 03:50 PM


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 23, 2013 11:59 PM

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 04:06 PM

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 12:36 AM

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.

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.