0

I have to fetch some data from different database table and show in table view, the table view not contain all column from database but mixed from different data base table. I need to do the following.

  1. Fetch few column from table1.
  2. Fetch one cell from table2 and edit the data from table1(1 or 2 column).
  3. Display the edited data on table view.
  4. Update table1 on DB while user edit on table view.
  5. Update table view in particular time interval.

So should I use QAbstractItemModel or SQL Model Classes like QSqlQueryModel, QSqlTableModel,QSqlRelationalTableModel .Whcih one is more suited in my scenario.

I looked in documentation but seems minimal example.

NewNet
  • 5
  • 3
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Jan 05 '23 at 11:41

0 Answers0