Control expand / collapse of grouping

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

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Up arrow icon