Hello,
I am with the following problem:
In the QTable, QDataTable and QListView when we order to command a column that this filled with numbers, it command as if he was string is there thus: 1, 5, 6, 201, 20, 40, 500... and thus goes.
Hello,
I am with the following problem:
In the QTable, QDataTable and QListView when we order to command a column that this filled with numbers, it command as if he was string is there thus: 1, 5, 6, 201, 20, 40, 500... and thus goes.
Reimplement QListViewItem::compare() (or simmilar) so that it sorts the column according to numerical values.
ederbs (29th November 2006)
Bookmarks