yeah, with QSqlQueryModel read only.
I want to have something ,
perhaps I have 7 rows in the table,
I just want to delete some rows from the QTableView,
not delete the record in the database,how can I do??
can u give me a point? thx
yeah, with QSqlQueryModel read only.
I want to have something ,
perhaps I have 7 rows in the table,
I just want to delete some rows from the QTableView,
not delete the record in the database,how can I do??
can u give me a point? thx
Apply a QSortFilterProxyModel or set a condition on the query so that you only retrieve the rows you need from the database.
Bookmarks