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.

Need to double click to expand GroupCaptionPlusMinusCell

Thread ID:

Created:

Updated:

Platform:

Replies:

90918 Oct 23,2009 08:58 PM Oct 26,2009 09:46 AM Windows Forms 1
loading
Tags: GridControl
Greg Kim
Asked On October 23, 2009 08:58 PM

I have a grid grouping control who's GroupCaptionPlusMinusCell.CellType is an image. I have added a GroupedColumn to the grouping control. When I initially click the plus / minus in the grid for that grouped column, it expands and collapses without issue. When I try to do it a second time, nothing happens unless I double click the cell / row.

In the TableControlCellClick event handler, the GridTableControlCellClickEventArgs' TableControl.Table.CurrentElement switches initially from GridCaptionRow to GridCaptionSection. Any idea why this is happening?

I have created a sample project from your Outlook 2007 demo code and have attached it.

I am using Syncfusion v7.303

Thanks for your help.



GridGroupingControlTest_b69505a4.zip

Rajadurai C [Syncfusion]
Replied On October 26, 2009 09:46 AM

Hi Greg,

Thanks for your interest in Syncfusion Products.

Please refer to the following modified sample in which the issue with the expand/collapse of GroupCaptionPlusMinusCell has been solved by handling QueryCellStyleInfo event and some changes in TableControlCellClick event.
http://files.syncfusion.com/support/samples/Grid.Windows/7.3.0.20/GridGroupingControlTest.zip

Regards,
Rajadurai

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.

;