I have problem when sorting column that is filled only with numbers, for example the number 11 is befoure number 2. Or some example of sorting:
11, 12, 13, 1, 20, 21, 22, 2....
I have solution, but I don't wont to do that way, if I write numbers like 01 ,02, 03... than it's work, but I need numbers in format 1, 2, 3....
Plese help...
Problems with sorting in Multicolumn list :?:
Moderators: CEGUI MVP, CEGUI Team
Problems with sorting in Multicolumn list
We modified CEGUI's source code to achieve this.
One way to do it easily is to store not only the text but also a numeric value in the item and adapt sorting to use this number instead of the text when the user specifies that the item is numeric.
This solution also work for dates and other types of values where text is not suitable for sorting.
One way to do it easily is to store not only the text but also a numeric value in the item and adapt sorting to use this number instead of the text when the user specifies that the item is numeric.
This solution also work for dates and other types of values where text is not suitable for sorting.
Return to “Offtopic Discussion”
Who is online
Users browsing this forum: No registered users and 7 guests