jiveaxe
10th November 2009, 20:16
Hi,
I have created a tableview which uses as model a QSqlRelationalTableModel and then some buttons for adding and removing records. All works good.
When I run the program the table shows all records. Is it possible to hide some rows (for example rows with a field different from a given one) and still have a working add/remove record functions (with primary key)?
Thanks
I have created a tableview which uses as model a QSqlRelationalTableModel and then some buttons for adding and removing records. All works good.
When I run the program the table shows all records. Is it possible to hide some rows (for example rows with a field different from a given one) and still have a working add/remove record functions (with primary key)?
Thanks