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.

PivotGridControl ExpandAllRowGroups with more than 2 pivotrows

Thread ID:

Created:

Updated:

Platform:

Replies:

128965 Feb 18,2017 06:58 AM Feb 21,2017 07:34 AM Windows Forms 3
loading
Tags: PivotGridControl
Matthijs Huisman
Asked On February 18, 2017 06:58 AM

Hi,

The command ExpandAllRowGroups works fine with 2 pivotrows. As soon as I add another field as a pivotrow (so 3 rowpivots)I get an error: System.NullReferenceException.

The collapse command works fine. NB: with pivotcolumns this error does not occur (i.e. with 3 pivotcolumns)!

Is there someway to make this work?

Thanks a lot!

Cheers,

Matthijs

Piruthiviraj Malaimelraj [Syncfusion]
Replied On February 20, 2017 07:38 AM

Hi Matthijs, 
 
Thanks for your interest in Syncfusion products. 
 
We have analyzed this reported scenario and we have created the simple sample as per your scenario. We are little bit unclear with your scenario. In that sample, the groups has been collapsed/expanded at run time using button-click event. Could you please provide with the below details, 
 
·         Please let us know how the  3rd PivotRow is added in your sample whether at runtime or not? 
·         Please provide us the stack trace of this exception and modify the attached sample with your scenario or provide us with the video of your sample. 
 
These would be more helpful for us to provide the exact details at the earliest. 
 
Sample link: 
 
Regards, 
Piruthiviraj 


Matthijs Huisman
Replied On February 20, 2017 12:51 PM

Hi,

I could not reproduce the error with your sample BUT I added a datatable of my project with some fake data -> now the error occurs! As far as I know there is nothing special about this datatable, so why this error occurs??

I have included one of your sample files with my xml data included. If I press collapse and then expand the error occurs... Hope this helps to find the problem!

Thanks a lot!

Attachment: RowExpandError_57b44c50.zip

Piruthiviraj Malaimelraj [Syncfusion]
Replied On February 21, 2017 07:34 AM

Hi Matthijs 
Thanks for the update.  
We have created a separate incident for this reported scenario. Please follow-up with that incident  for further assistance.  
Direct-trac link:  
Regards,  
Piruthiviraj 


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.

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.

;