Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
qTableWidget RemoveRow Error
sv17 last edited by
I hope this is the right place to post this, but I am using pyqt4 and am having issues using a table widget. My error is that when I remove a row, the table then take the next row above and it places it into the location the previous row was in visually, but when I try to access it in the code, all the widgets and items on the row that get moved up still show that they have the old index. Ex. if I delete row 3 from the table, instead of row 4 becoming row 3 now, all the items in the table still indicate that they belong to row 4.
Furthermore, when I try to add another row, it would then become row 4, thus giving me two row 4 essentially. Any ideas on what to do??
VRonin last edited by
all the items in the table still indicate that they belong to row 4.
How? can you show the code?