On Sep 14, 7:18 am, Helvin <helvin...@gmail.com> wrote: > Hi, > > Could not find anything on this online, except the documentation, > which does not explain how to work with a QTableWidgetItem-list. How > do I get out what QWidgetTable.finditems found? > > I have a string that I want to find in my table. I want to locate the > row it's in, then delete the row. > My code: > > foundList = > table_points.findItems(str(picked_node), > QtCore.Qt.MatchExactly) > inRow = > self.ui.table_points.column(foundList) # trying to > locate the row, but this does not work > > where, > table_points: my table > picked_node: an integer value I want to locate in table_points > > Help MUCH appreciated! > Helvin > Newbie
Sorry, forgot to mention I am using PyQT. Regards, Helvin -- http://mail.python.org/mailman/listinfo/python-list