Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
cellWidget (QLineEdit) of QTableWidget is returning -1 on click
Shadab last edited by
I have a QTableWidget with 2 columns and I have cellWidgets in all the cells (QLineEdit, ComboBpx and QTextEdit).
When I click on any of the cell widget it returns me -1 for row and column.
Can anyone explain me why its returning -1 there?
Hi and welcome to devnet,
How are you getting that value ?