I have a QSqlRelationalTableModel with one QTableView of it.
After you change data on a row... visually the table goes to the top, difficulting the entry of sequencial data with tabulations or clicking on another position.
I have a QSqlRelationalTableModel with one QTableView of it.
After you change data on a row... visually the table goes to the top, difficulting the entry of sequencial data with tabulations or clicking on another position.
Auryn
Starting to learn the world of Qt
How do you change that data? Do you call select() somewhere?
J-P Nurmi
When using
I save withQt Code:
To copy to clipboard, switch view to plain text mode
When using
I don't save manually.Qt Code:
To copy to clipboard, switch view to plain text mode
After saving, occurs a "reselect" and the table position goes to the beginning.
The position must go to next field when ending an edition with tab key. And when clicking on another position while we are in edit mode must go to that position, not to the beginning.
Thank you
Auryn
Starting to learn the world of Qt
Bookmarks