R
R
RandomProgrammer2021-10-13 21:21:17
PyQt
RandomProgrammer, 2021-10-13 21:21:17

How to insert text into table cell?

I use

QTableWidget.setItem(row, col, QtWidgets.QTableWidgetItem(string))
. But for some reason there is no text string, although the row and column exist.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RandomProgrammer, 2021-10-13
@RandomProgrammer

Ay the fool, only shcha understood that row incorrectly specified.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question