Hello,
I would like to select a row in the a tableview after inserting it. I'm inserting the row as the last in the model, using QSqlTableModel.insertRow(QSqlTableModel.rowCount() ). I want to select the inserted row in a QTableView which uses this model.
My problem is I cannot find which row in the table view corresponds to the new row in the model. Or, in other words: given a row in the model, how can I know the row where it's displayed in the table?
Thanks !
Bookmarks