QTableView && QSqlQueryModel && data update
Solved
General and Desktop
-
Hi all,
I have a QTableView and its model QSqlQueryModel to show some data from a query.
If I update the query, the tableView automatically scroll to the first row but I need to keep the old position of the table.
Now I'm trying to register the actual scroll position of a table and to scroll to this position after an update but it doesn't works as good as expected.
Is there a better solution?
Tnaks