Hi all,
I'm using 2 models (a QSqlRelationalTableModel and a QSqlTableModel) working on the same data. One is used to display only some columns of the table and it allows people to click on the item which causes all the data from the table to be loaded in a different section of the screen using all sorts of widgets (LineEdit, DateEdit etc.).
The problem is that I'd like to inform the model used to display the list of items when the data is changed and saved in the other model. Currently I'm executing a simple select() but this reloads the entire table while only the data in a single row has changed. Is there a way I can optimize this to only make the model reload a single row?
Bookmarks