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.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

53248 Dec 11,2006 11:56 AM Dec 14,2006 05:48 AM Windows Forms 5
loading
Tags: Grouping
James Blibo
Asked On December 11, 2006 11:56 AM

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 01:39 AM

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.
GGCCaptionPlusMinusCell.zip

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

Thanks for your patience.
Regards,
Haneef

James Blibo
Replied On December 12, 2006 09:23 AM

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 05:54 AM

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.
GGCCaptionPlusMinusCell.zip

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

Best regards,
Madhan

James Blibo
Replied On December 13, 2006 11:22 AM

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 05:48 AM

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.
GGC_modified.zip

Have a nice day.

Best regards,
Madhan

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.

;