Filtering

Top  Previous  Next

 

Filtering capabilities are added to a TreeTableModel by wrapping it around a DefaultFilterTreeTableModel. This class uses an internal FilterTableModel instance to filter the children of each group row in the underlying treetable model.

 

The filter tablemodel is retrieved with the method:

 

public FilterTableModel getFilterTableModel();

 

You can customize the filtering behaviour by manipulating this FilterTableModel instance.