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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Programmatically Collapse Groups in Pivot Grid

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hi,

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.

Chris

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

Hi Chris,

 

Thanks for your interest in Syncfusion products.

 

Query

Collapse all records

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

 

this.pivotGridControl1.TableControl.CollapseColumn("Country");

            this.pivotGridControl1.TableControl.CollapseAllGroup();

 

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.

 

Regards,

Vinish.


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 11.2.0.25.  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.  

 

Thanks,

Vinish K


CONFIRMATION

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.

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

;