QTableView sorting and headers issue
Solved
General and Desktop
-
I have subclassed QSortFilterProxyModel and reimplemented lessThan in order to sort by multiple columns.
I have a problem in that in order for it to work I have to make call setSortingEnabled() on my QTableView. This makes clicking my headers sort by that column and disables selecting columns.
Is there a way to make sorting work and have selectable headers?