Important: Please read the Qt Code of Conduct -

How to update a QTableWidget row by row

  • Hi All,

    Here again with my troubles....

    On my GUI I'm using a QTableWidget where I'm updating the field "row by row". I'd like that the table shows me the new data inserted every time I change the data inside a field but even though the code works the table shows me the new data after that every row have been modified. Does anyone know if there is any "refresh" method to call on the QTableWidget which can solve my issue?

  • I solved also this problem on my own, I've used the repaint() method of the QTableWidget which I'm using to show the data. Now it seems to work!

    Thank to all for your support.

  • Moderators

    Glad you figured it out! Be sure and add [Solved] to your thread title in the initial post. Thanks!

Log in to reply