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

row header selection

Thread ID:





46941 Jul 25,2006 01:44 PM UTC Jul 25,2006 11:10 PM UTC ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Asked On July 25, 2006 01:44 PM UTC

I am dealing with a very large recordset for my grid (80,000 records). What I would like to do is pass the records back to my page in smaller groups. What my problem is, I would like to do the sorting at the server side before I return the data so I need to turn the sorting off but yet allow the user to click on a header to send an event for me to capture to sort. My question is...what event is sent when a row header is clicked?


Ramu [Syncfusion]
Replied On July 25, 2006 11:10 PM UTC

Hi Sandy,

This can be done by handling the "GridGroupingControl.TableDescriptor.SortedColumns.Changed" event.This event is fired for both sorting and unsorting the columns in the column header.

You must add the code in the page_Init() or page_Load() method


this.GridGroupingControl1.TableDescriptor.SortedColumns.Changed += new Syncfusion.Collections.ListPropertyChangedEventHandler(this.GridGroupingControl1_SortedColumnsChanged);

In SortedColumnsChanged event, you can perform the required changes based on the “ListPropertyChangedEventHandler” action

Sample code:


private void GridGroupingControl1_SortedColumnsChanged(object sender, Syncfusion.Collections.ListPropertyChangedEventArgs e)

switch (e.Action)
case ListPropertyChangedType.ItemChanged:
case ListPropertyChangedType.Add:
//Your code goes here....

Let me know if you have any questions.



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