U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » ArrayCtrl sorting
ArrayCtrl sorting [message #13274] Fri, 28 December 2007 10:42 Go to previous message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
What is the best method to sort an ArrayCtrl?

array.sort(column)?
array.SetSortColumn(int ii, bool descending = false)?

If i use array.sort(column), how can i set the sort order?

Or is SetSortColumn or ToggleSortColumn(int ii) the better way to sort an ArrayCtrl?

It would be nice if someone could provide an example how to change the sort order of an ArrayCtrl.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Selection changes before LostFocus() is called
Next Topic: How to change GridCtrl background color
Goto Forum:
  


Current Time: Tue Apr 28 08:47:14 GMT+2 2026

Total time taken to generate the page: 0.00551 seconds