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

Click on the plus/minus button automatically selects the the GroupCaptionCell. How do I prevent this?

Thread ID:





53248 Dec 11,2006 04:56 PM UTC Dec 14,2006 10:48 AM UTC WinForms 5
Tags: Grouping
James Blibo
Asked On December 11, 2006 04:56 PM UTC

Click on the plus/minus button in a ggc automatically selects the the GroupCaptionCell. How do I prevent this?

Administrator [Syncfusion]
Replied On December 12, 2006 06:39 AM UTC

Hi James,

We tried to reproduce this issue in 4.X with .Net 1.1/2.0 + Windows XP sp2, but could not get this issue. Maybe I am not following the steps that you are doing. Attached sample working fine here. Can you post a small sample showing this problem or tell us how to see it in the Attached sample?

Here is a sample.

Please let me know the version number of Studio you are testing this with and the .Net version.

Thanks for your patience.

James Blibo
Replied On December 12, 2006 02:23 PM UTC

In the example that you sent, the CaptionSectionCell is not clickable, so I think that's why you're not seeing the issue.
In my project, the GroupCaptionCell is of CellType = "Static" and the cell is clickable.

Administrator [Syncfusion]
Replied On December 13, 2006 10:54 AM UTC

Hi James,

Thanks for the explanation. We could able to reproduce the issue with the property settings. You could workaround the behavior by sending the Tab keys on Group expanded and collapsed, so that the plus/minus gets the focus.

Please refer to the following sample which for more details.

Kindly try it and let us know if you need any further assistance.
Have a nice day.

Best regards,

James Blibo
Replied On December 13, 2006 04:22 PM UTC

Sorry! this did not work.

Firstly, implementing this code had the effect of causing the group to not close when I click the plus/minus. Clicking the plus/minus arrow with this code did not close or expand the group. It was closing and expanding inititally.

Secondly, it causes the active cell to just change from the GroupCaptionCell (which I wanted to prevent in the first place), to another cell two columns down!

Administrator [Syncfusion]
Replied On December 14, 2006 10:48 AM UTC

Hi James,

Please try setting the Enabled property of the GroupCaptionCell to false. So the focus never moves to the caption cell.

The following is the sample which demonstrates the intended behavior using your code snippet.

Have a nice day.

Best regards,


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

or the page will be automatically redirected to 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