I have a QSqlQueryModel based Tableview and I want the user sort the resultset in the the tableview manually. So I try to use
beginMoveRows(index, r, r, index, r-1);
endMoveRows();
but it work only partially. The selection in the tableview is moving to the new position, where the row shall be moved. but the content is not moving.


Reply With Quote

Bookmarks