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

GridGroupingControl - Last event in a read-only grid.

Thread ID:





37549 Nov 24,2005 12:02 PM UTC Nov 24,2005 03:46 PM UTC WinForms 2
Tags: GridControl
Badri Rajani Kanth
Asked On November 24, 2005 12:02 PM UTC

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 03:11 PM UTC

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 03:46 PM UTC

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.

Please sign in to access our forum

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