Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 526
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: Fri Apr 19 14:36:52 CEST 2024

Total time taken to generate the page: 0.01745 seconds