Menu ▾ ▴

#3 Wanted: Column specific default sort order for tables

open
nobody
None
5
2008-09-02
2008-09-02
dumlMaster
No

Reported by shantanupm, Aug 04, 2008
Tabledecorator should have the ability to specify default sort order for
each column. Currently the column is sorted "Ascending" when clicked for
the first time; this should be configurable.
Delete comment Comment 1 by bkardell, Aug 05, 2008
Let me make sure that I understand the precise request... You can already say "this
table is sortable or not". To the best of my recollection, that's how it works in
Mac, Windows, Gnome, KDE and all other systems that I can think of - if I am wrong
on this much, someone please point out an example. You can also specify the default
sort column and direction.

I believe that what is being proposed is that you want to say "The first time I
click on column [2] it should sort in descending order - but the first time I click
on any columns [3-5] they should sort in ascending order... Is that correct?
Delete comment Comment 2 by shantanupm, Aug 06, 2008
Yes, that is correct. There should be column level property which can have value
asc/desc.
Delete comment Comment 3 by shantanupm, Aug 06, 2008
MS Outlook is an example to point out. In the Inbox, when you sort by "From" or
"Subject" for the first time, it sorts ascending. But when you sort by "Received"
date or "Size", it sort descending.

Discussion


Log in to post a comment.