Skip to main content

JXTreeTable setRowFilter does not work

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2014-02-11


I am using a JXTreeTable (swingx 1.6.4) and I am trying to filter some lines of the tree table. In order to perform the filtering, I am using the setRowFilter method, but no content is being filtered.
The code that I am using is:

treeTable.setRowFilter(RowFilters.regexFilter("^res", 0));

Should the tree table be

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-06-12

Unless I'm mistaken, I think the filter for the treetable is ignored since that functionality isn't suported for trees...

But you might want to check the source code to be sure.