Mike Rea <[EMAIL PROTECTED]> writes:
> Issue:
> There's some unexpected behavior occuring within the table sorting
> functionality, as performed by the sortByColumn function within
> SimpleTableModel.js. The sort is currently case sensitive, which is
> probably not intended.
Hi Mike,
Whether
Crap, I forgot to mention that my changes were in 0.6.6 (if that wasn't
pretty obvious).
dperez wrote:
> I like case insensitivity for sorting.
> I've checked that toLowerCase() works for non-English languages. E.g.:
> 'Ñ'.toLowerCase() == 'ñ'
What I've done is to subclass the SimpleTableModel class and add a
property for case-insensitive sort (for my purposes, it defaults to
true). I've also added a sortNumeric for strict numeric sort:
qx.OO.addProperty({ name: "sortCaseInsensitive", type: "boolean",
defaultValue: true });
qx.OO.ad
I like case insensitivity for sorting.
I've checked that toLowerCase() works for non-English languages. E.g.:
'Ñ'.toLowerCase() == 'ñ'
Mike Rea wrote:
>
> Issue:
> There's some unexpected behavior occuring within the table sorting
> functionality, as performed by the sortByColumn function wi
Issue:
There's some unexpected behavior occuring within the table sorting
functionality, as performed by the sortByColumn function within
SimpleTableModel.js. The sort is currently case sensitive, which is
probably not intended.
For instance, if
a
B
c
is sorted in descending order, it return