RameshNani
28th July 2014, 10:34
Hi All,
I am using QSqlTableModel and set OnSubmit mode.
I my functionality when i click on delete button I call removeRows but the rows contents become blank.
According to My functionality in save button if we have all columns are blank of a row we shows an error like rows are empty.
How could i support both of them , how could i avoid the row content become empty while removeRows are executed.
In Linux version it's working fine the row content not become empty but in qtcreator i faced this problem .
Could any one suggest on this situation ?
Thanks
I am using QSqlTableModel and set OnSubmit mode.
I my functionality when i click on delete button I call removeRows but the rows contents become blank.
According to My functionality in save button if we have all columns are blank of a row we shows an error like rows are empty.
How could i support both of them , how could i avoid the row content become empty while removeRows are executed.
In Linux version it's working fine the row content not become empty but in qtcreator i faced this problem .
Could any one suggest on this situation ?
Thanks