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.

GridGroupingControl - Last event in a read-only grid.

Thread ID:





37549 Nov 24,2005 07:02 AM Nov 24,2005 10:46 AM Windows Forms 2
Tags: GridControl
Badri Rajani Kanth
Asked On November 24, 2005 07:02 AM

Hi, What is the last event that gets fired in a read-only grid having grouping and sorting? I this it is SortedItemsInGroup. Is that correct? Rgds Rajani Kanth

Administrator [Syncfusion]
Replied On November 24, 2005 10:11 AM

Exactly what action are you trying to catch and when do you want to catch it? If you want to know when a column has been grouped or sorted, then you can use these events: this.gridGroupingControl1.TableDescriptor.SortedColumns.Changed this.gridGroupingControl1.TableDescriptor.GroupedColumns.Changed There is an e.Action parameter to help you identify what is being done to the collection. There are also ''Changing'' versions of these events that occur before the action takes place and allows you to cancel it.

Badri Rajani Kanth
Replied On November 24, 2005 10:46 AM

Thank you! I want to filter records and then check records count and display this count in some other form. So, I should be able to write code that is fired after filtering ideally. As sorting/grouping does not change record count, may be i dont want that events. Currently I am working with _QueryCellStyleInfo event and it is working fine. But as it is called many times, i want to move it for code optimization. Rgds Rajani Kanth


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.