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

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » How to sort the ArrCtrl [SOLVED]
How to sort the ArrCtrl [SOLVED] [message #2228] Tue, 04 April 2006 18:50 Go to previous message
forlano is currently offline  forlano
Messages: 1244
Registered: March 2006
Location: Italy
Senior Contributor
In the ArrCtrl documentation there are many Sort methods with obscure (for me) syntax.

I can avoid all of them with the following approach:
1) get the record from the array
2) sort them
3) clear the array
4) put the sorted record in the array.

But I am sure there is shortcut for it thought for lazy man. Just I would like to click on the header of the array and it show the new order. Is there somebody (I know who Smile ) that can show one minimalist example?

Thank you,
Luigi

[Updated on: Mon, 01 May 2006 10:25] by Moderator

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ArrayCtrl crashes with "embedded" Ctrls referenced by Id [SOLVED]
Next Topic: ArrayCtrl - how to set tooltips? [BY DERIVING...]
Goto Forum:
  


Current Time: Fri Sep 11 09:45:01 GMT+2 2026

Total time taken to generate the page: 0.00554 seconds