This is a migrated thread and some comments may be shown as answers.

Sorting event not fired on load

2 Answers 55 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Scott Waye
Top achievements
Rank 2
Veteran
Iron
Scott Waye asked on 28 Apr 2016, 02:25 PM

Hi,

I need to do some non trivial custom sorting that can't be done with other methods so I'm looking at the Sorting event.  However its not fired when the grid is bound so the data initially is appearing unsorted.  Is there a way to get the sorting event to fire when the initial ItemsSource is loaded?

2 Answers, 1 is accepted

Sort by
0
Accepted
Yoan
Telerik team
answered on 28 Apr 2016, 02:40 PM
Hi,

The Sorting event will be raised when the end user is sorting RadGridView through the UI (i.e. he/she clicks on column's header). I believe that you need to sort RadGridView programmatically. If this is the case, I would suggest check this help article.

Regards,
Yoan
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Scott Waye
Top achievements
Rank 2
Veteran
Iron
answered on 28 Apr 2016, 03:15 PM
I see, then that event is not going to help me.  Thanks
Tags
GridView
Asked by
Scott Waye
Top achievements
Rank 2
Veteran
Iron
Answers by
Yoan
Telerik team
Scott Waye
Top achievements
Rank 2
Veteran
Iron
Share this question
or