Jan 19, 2009, 11:04 AM
[FIXED] [V0.8.0] Sorting numbers with ext:TableGrid
Here's something that has more to do with HTML than purely coolite, but perhaps someone can through a light on the matter.
When I make simple html table and add the <ext:TableGrid> to enclose it, the columns that are populated with just numbers, are always aligned to the left - ignoring the Align="right" tag in the <TD> - and bringing along the problem to sort these columns, as it sorts them just as text, making "111" to go first than "22", just because sorts from left to right. Not as numbers but as strings.
I tried to left pad spaces to the numbers, but even thought they are rendered, the text keeps aligning always to the left.
any clues?