reshma
22nd March 2009, 15:22
hello,
my problem is that i need to remove all the rows of the table and then add new rows..
al these work at runtime only..
so i wrote the following code...
but cant understand where the problem is..
row=table->rowCount();
for(int i=0;i<=row;i++)
table->removeRow(i);
row=0;
queryForMem();//this takes input for the new row..
one row always remains and doesnt get removed..
new instructions do not work on this table any more...
like i cannot add a new row through some other functions..
plz help me out...
my problem is that i need to remove all the rows of the table and then add new rows..
al these work at runtime only..
so i wrote the following code...
but cant understand where the problem is..
row=table->rowCount();
for(int i=0;i<=row;i++)
table->removeRow(i);
row=0;
queryForMem();//this takes input for the new row..
one row always remains and doesnt get removed..
new instructions do not work on this table any more...
like i cannot add a new row through some other functions..
plz help me out...