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

Control expand / collapse of grouping

Thread ID:





58707 Mar 27,2007 08:26 AM UTC Mar 27,2007 12:07 PM UTC WinForms 1
Tags: GridControl
Asked On March 27, 2007 08:26 AM UTC


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?


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.


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

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