Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Sorting with QSortFilterProxyModel
DBoosalis last edited by
I have implemented a SortFilterproxyModel into my list view following the steps in the Nurmi's Blog post found here: [https://blog.qt.io/blog/2014/04/16/qt-weekly-6-sorting-and-filtering-a-tableview/](link url)
Everything works fine, excecpt that after a few times of changing the sort column of my ListView the view gets a little wacked - lots of spaces, text written over text. I am using Qt 5.5 and have tried everything clearing the data in my cpp and reapplying the source, calling dataChanged for the entire data set, issuing beginResetModel and endResetModel. But nothing seems to help. The screen screw up seems to be at random.
Does anyone know of a way I can cleanly reset the data after modifying the sort column or sort order.
Any help most appreciated.