Skip to main content

JXTable and sorting

1 reply [Last post]
jan9999
Offline
Joined: 2007-10-15
Points: 0

I have a JXTable with a different sorting on each column.

Is it possible to indicate which column is the default sorting (for instance sort on the 3th column) at creation time of the JXTable?

Is it possible to sort on 2 or more columns of the JXTable at the same time (for instance sort on a name column first and those with the same name, sort on the firstname column as a second ordering) ?

Thx in advance

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kleopatra
Offline
Joined: 2003-06-11
Points: 0

sorting/filtering support is the same as for a plain JTable, nothing more and nothing less: So yeah, multiple column sort is supported and on by default, but neither intuitive nor has any visual feedback

CU
Jeanette