|
Sorting |
Top Previous Next |
Sorting capabilities are added to a TreeTableModel by wrapping it around a DefaultSortTreeTableModel. This class uses an internal SortTableModel instance to sort the children of each group row in the underlying treetable model.
The sort tablemodel is retrieved with the method:
public SortTableModel getSortTableModel();
You can customize the sorting behaviour by manipulating this SortTableModel instance.