You may also want to have a look at that thread: http://www.qtcentre.org/threads/1608...-quot?p=179842
Al_
You may also want to have a look at that thread: http://www.qtcentre.org/threads/1608...-quot?p=179842
Al_
scott_hollen (4th March 2011)
The row does not get deleted when removerow is called after setdata.
If setdata is not called delete row works perfect.
I am using qsqltablemodel here.
Can you please help me with this problem?
I am still interested in this topic, thus also in your post. One of my issues was that deleted rows were still visible until commited; I solved this by filtering rows out that have the exclamaition sign as deleted-but-not-yet-commited flag.
Please provide more detail. When does your application commit data (manually, rowchange, fieldchange)? What do you mean by 'Row does not get deleted'? Is that row flagged as having been deleted (by the exclamation sign in the row header)? Do you have an example program (optimally fully working mian(){ })?
Bookmarks