Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1170
User defined sorting
posted

I'd like to sort a column of names completely within my own code when the user clicks the column header. It's a list of names that should mostly be sorted alphabetically except for a small number of names that should be grouped (these groups are specified in a command line argument, if you're curious). Is there some way I can override the sorting event for a particular column with my own method? Ideally I would get the unsorted list as an event argument and then return the sorted list at the end.

Thanks.