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

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl: Sorting order
GridCtrl: Sorting order [message #35378] Tue, 07 February 2012 16:52
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor

I have a column of String type, each of format like:

NUMBER SPACE TEXT, eg

38 GridCtrl
375 ArrayCtrl
42 EditString

when sorting by this column, GridCtrl is so smart as to recognize the number in each string and sort by the number instead of alphabetically. This is certainly a feature and would be handy in a lot of situations. Here can I turn off the feature and sort alphabetically instead?


Sorting result (ascending) for above would be
38 GridCtrl
42 EditString
375 ArrayCtrl


Intended is:
375 ArrayCtrl
38 GridCtrl
42 EditString

Thanks!
 
Read Message
Previous Topic: GridCtrl WhenLeftDouble Callback
Next Topic: GridCtrl: Setting column widths programmatically
Goto Forum:
  


Current Time: Sat May 30 06:13:38 GMT+2 2026

Total time taken to generate the page: 0.00402 seconds