Set-sort-arrow

EdInTheUK

New Member
Can anyone point me in the right direction for using this call? I can set up my browse with the first column shown as sorted ascending, and I can adapt my query based on which column becomes the sort column, (and ascending / descending). But what's not obvious is how the user can change which column is sorted, specifically, how to intercept clicks on the browse column headings. The only way I can see is by adding code to any mouse click / double event handlers on the browse and comparing mouse coords (via last-event) to determine whether it's a heading click or a normal row click. Just seems messy - is there a 'proper' way? Can't find anywhere where this is documented.

Thanks
 
Sorry, replying to self here. I'd searched for set-sort-arrow, a more generic search for column sorting would've turned up results on this forum. As shown by the automatic 'similar threads' that appears just after posting a new thread!
 
Back
Top