Hi all. I need your help please...
I have a QTableView and use the QSqlQueryModel and the QItemSelectionModel to handle the data. Now I want to enable sorting by clicking on the header. I can enable sorting at the TableView, but the sort method desn't work.
Does anybody knows how I can sort my QTableView with less effort. I don't want to use the QTableWidget. It would be great, if that works.
Bookmarks