PDA

View Full Version : How to clear the items of a row from a QTableWidget



arunvv
14th May 2008, 19:57
Hi All,
How to clear the items of a row from a QTableWidget without changing the dimensions of a table?
Example: Table has 20 Rows and 11 Columns
In the first iteration, if the table has updated values till 16 Rows , and in next iteration if table has got values to update only for 15Rows , it should show the updated values for 15 Rows only, but it is also showing 16Row data, which is data of previous iteration data.
So how to clear the row contents without disturbing the table size?

Thanks & Regards,
Arun

jpn
14th May 2008, 20:35
Delete previous items and create & assign new items?