Skip to main content

JXTable and sorting

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2007-10-15

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.
Joined: 2003-06-11

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