I am using FilterableTableModel (which is wrapped by SortableTableModel) and applying and removing filters based on button click. I am fetching filterablemodel properly when filter need to be applied or removed.
model = new SortableTableModel(filterableModelInstance);
IFilterableTableModel filterModel=(IFilterableTableModel) TableModelWrapperUtils
.getActualTableModel(model ,FilterableTreeTableModel.class);
My logic is when I remove filters certain rows are displayed at the end of table. However if one of the column is in sorted state, table is refreshed and sorted again after removing the filter hence those rows are placed based on sorting state. Is there any way to avoid table sorting when filter is applied or removed to the model. I still want to enable sorting when columns are explicitly clicked
Thanks,
Nitin