PDA

View Full Version : how to set focus to specified QTablewidgetItem, in QTableWidget?



aurora
10th January 2012, 12:06
In my program i'm using QTableWidget.
The table contains thousands of rows, I'm using findItem() to search specific key in table.
The findItem returns list of QTableWidgetItems, i want to highlight all those items one by one when "NEXT" button pressed.
But table wont performing auto scroll to view the Items below the table...
How can i do that?

wysota
10th January 2012, 21:59
QTableWidget::scrollToItem()