How to get row number from QTableWidget based on input?
-
I want to be able to get row number of specific item from QTableWidget.
def getRowNumber(self): result = self.Table.findItems( self.QlineItemName.text(), QtCore.Qt.MatchFlag.MatchExactly)
The problem is that it returns a list rather than the row number. How to get row number.
-
I want to be able to get row number of specific item from QTableWidget.
def getRowNumber(self): result = self.Table.findItems( self.QlineItemName.text(), QtCore.Qt.MatchFlag.MatchExactly)
The problem is that it returns a list rather than the row number. How to get row number.