"Un-sorting" a QSortFilterProxyModel


  • Moderators

    Hi all,

    Suppose I have a QSortFilterProxyModel and sort it through a QTableView. The row headers will get "jumbled up".

    Is there an easy way to re-sort the table again according to the row headers? (i.e. restoring the rows to the original, unsorted order)

    I could add an "number" column and sort by that column, but that takes extra work ;)

    Thanks in advance!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.