oxbow icon indicating copy to clipboard operation
oxbow copied to clipboard

conflicts with JXTable's setSortOrderCycle

Open haifengl opened this issue 12 years ago • 0 comments

First, thank you very much for the great work. We are using TableRowFilterSupport with a JXTable. We would like to enable tri-state sorting, i.e.

First click on column header: sort ascending Second click on column header: sort descending Third click on column header: remove sorting

We are using the following to enable it.

table.setSortOrderCycle(SortOrder.ASCENDING, SortOrder.DESCENDING, SortOrder.UNSORTED);

It works fine with JXTable without TableRowFilterSupport. However, when we use

TableRowFilterSupport.forTable(table).apply();

on the same table. The tri-state sorting behavior disappears and we can only do bi-state sorting. BTW, we tried call setSortOrderCycle either before or after TableRowFilterSupport.forTable(table).apply().

haifengl avatar Sep 20 '13 13:09 haifengl