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.

Event after sort

Thread ID:





103598 May 15,2012 10:27 AM Feb 13,2013 05:17 AM WPF 3
Tags: GridControl
Irfan Younus
Asked On May 15, 2012 10:27 AM

Using Essential Studio version WPF DataGridControl

Is there a way to get a notification after the grid is sorted. There is no such event. I tried it doing CellClick event and checking for header rows but even that is fired before the grid is sorted. I need it after the sorting is done.

Rajasekar [Syncfusion]
Replied On May 17, 2012 08:08 AM

Hi Irfan,


Thank you for your update.


You can  achieve your requirement by using the sort columns changed event like shown below,


        this.dataGrid.SortColumns.Changed += new EventHandler(SortColumns_Changed);
        void SortColumns_Changed(object sender, EventArgs e)


Please let us know if you have any queries.




Phil Steel
Replied On February 12, 2013 09:42 AM

I couldn't find this for the GridTreeControl - is the same after sort event handler available for the GridTreeControl?

Rajasekar G [Syncfusion]
Replied On February 13, 2013 05:17 AM

Hi Phil,


Sorry for the inconvenience caused. 


At present there is no SortColumns Changed event for GridTreeControl like in GridDataControl. So could you please share  your exact requirement and  the purpose of this event in your application with us. That would be very helpful for further analysis.


Please let us know if you have any questions.



Raja sekar.G


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.