Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conflicts with JXTable's setSortOrderCycle #18

Open
haifengl opened this issue Sep 20, 2013 · 0 comments
Open

conflicts with JXTable's setSortOrderCycle #18

haifengl opened this issue Sep 20, 2013 · 0 comments

Comments

@haifengl
Copy link

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().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant