QSortFilterProxyModel IS NOT WORKING PROPERLY WITH DYNAMIC DATA
Hellow everyone,
I am using QSortFilterProxyModel with QStandardItemModel and QTableView with continuous flow of data.
Filtering is working fine while data is getting inserted.
Filtering is not working when i maintain a fixed number of rows in the model by inserting the coming data as a row at the end (rowcount) and by removing the row at index 0.
Thanks in Advance.
Re: QSortFilterProxyModel IS NOT WORKING PROPERLY WITH DYNAMIC DATA
Did you set the "dynamicSortFilter" flag on the proxy?
Is your application in a continuous loop with no chance for events to get processed? All proxy and table updates are through signals and slots, so if your app doesn't ever allow signals to be processed, you'll never see an update.