Home Forums WinForms controls Xceed Grid for WinForms Event for Column based sorting Reply To: Event for Column based sorting

User (Old forums)
Member
Post count: 23064

It is normal the SortDirectionChanged event fires more than once, since it is subscribed to on each columns, and when you click on another column, the sorted column is unsorted, and the clicked column becomes sorted.

For the Sorted event, it is difficult to tell what is the problem since I don’t have your code, and it depends on what you do in it, but handling an event always as the “potential” of slowing things down, since it adds one method to process.  However, since this event is triggered only once, at the end of the sorting process, it should not produce any problem.  Can you provide more details on what you do in it, with a code snippet?

 

Imported from legacy forums. Posted by André (had 3154 views)