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.
Syncfusion Feedback

Control expand / collapse of grouping

Thread ID:

Created:

Updated:

Platform:

Replies:

58707 Mar 27,2007 08:26 AM UTC Mar 27,2007 12:07 PM UTC Windows Forms 1
loading
Tags: GridControl
Harshad
Asked On March 27, 2007 08:26 AM UTC

Hi,

I am using grouping grid control and i have 5 levels of grouping int he report. I want to restrict expand collapse of grouping on enter key pressed or any other key pressed. I want expand/collapse of grouping should happen only when user explicitly expand or collapse the group and not by any other event.

How to do this..? any pointer or smaples?

Thanks

Administrator [Syncfusion]
Replied On March 27, 2007 12:07 PM UTC

One way you can try to do this is to handle the TabelControlCellButtonClick and set a flag indicating that it is ok to expand or collapse a group. Then you can handle the GroupExpanding and GroupCollapsing and cancel things if this flag is not set.

Here is a little sample.
http://www.syncfusion.com/Support/user/uploads/WindowsApplication106_f69aff74.zip

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.

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

;