• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to apply RowFilter in JXTreeTable  RSS feed

 
Krishna Seetha Raman
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Am using JXTreeTable in my model and i need to set up certain filters to hide some node.
In JTable we can make use of RowFilter and in setRowSorter is overridden with blank implementation. when am trying to set filter, TableRowSorter doesn't accept JXTreeTable even though it extends JTable i couldn't cast the instance.
Is there any way to customize RowFilter option in JXTreeTable.
When i get the model behind the object it return MapTable object so it couldn't cast to TableModel.
Appreciated if any one could suggest me how to work Filter in JXTreeTable.

Thanks in advance.
 
Rob Camick
Ranch Hand
Posts: 2787
12
 
Martin Vajsar
Sheriff
Posts: 3752
62
Chrome Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read the documentation for the JXTable (parent of JXTreeTable). It has its own devices to do row filtering. The documentation does not mention anything about filtering in the JXTreeTable, so I assume that it inherits the capabilities from JXTable, but I'm just guessing.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!