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.

GroupCaptionPlusMinusCell expands the group does not collapse group once expanded

Thread ID:

Created:

Updated:

Platform:

Replies:

62384 Jun 13,2007 06:34 PM Jun 14,2007 02:50 PM Windows Forms 3
loading
Tags: Grouping
James Blibo
Asked On June 13, 2007 06:34 PM

I have a single table dataset that is group by one column.

Something funky is going on with my ggc. Clicking the GroupCaptionPlusMinusCell expands the group fine, like it should. But clicking on the same cell does not collaspe the group once it has been expanded.

I'm sure that you all and even me can come up with a simple project in which this works fine, but my ggc is not simple and this is not working as expected. I've seen this work a thousand time. But something has gone awry. My ggc uses a custom engine and I am beginning to think that some code in my custom engine is causing this, but I am not sure.


To add this this issue, when I do the following..

this.gridGroupingControl1.Table.CollapseAllGroups();...
if the current cell is on a record row, the group that that record row belongs to does not collaspe. Expand works fine in both cases.

Rajagopal [Syncfusion]
Replied On June 13, 2007 08:44 PM

Hi James,

Thanks for your patience.

As mentioned in your query this should work fine without any problem. It would be helpfull if you could post a sample having this issue with more information on the same, so that we could get back to you with suitable solution to this issue.

Regards,
Rajagopal

James Blibo
Replied On June 14, 2007 12:08 AM

It's frustrating that you all haven't experience this issue on your end. I can't post my code because the code is part of a larger project and the issue may not be reproducable if i create a smaller project. But this is definitely an issue that I'm sure you've heard other users of your product post about.

Rajagopal [Syncfusion]
Replied On June 14, 2007 02:50 PM

Hi James,

Sorru for the inconvenience.

Please try setting the Table.CurrentElement to null before the calling the CollapseAllGroups() method.

this.gridGroupingControl1.Table.CurrentElement = null;
this.gridGroupingControl1.Table.CollapseAllRecords();
this.gridGroupingControl1.Table.CollapseAllGroups();

Kindly try the above suggestion and let me know if this helps.

Regards,
Rajagopal

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.

;