Answer the question
In order to leave comments, you need to log in
Why is the table cell value not copied after setData?
I use QTableWidget, I put the data in the cell as
Not setText, because then the column needs to be sorted as integers (id - int), and not as strings It
sorts fine, but the values ​​​​are not copied from the cell, why is that?
Maybe I passed the wrong arguments to setData?
item.setData(0, id)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question