PDA

View Full Version : how to display the last row of Qtableview?



weixj2003ld
25th July 2012, 14:24
I create a table with QTalbeview and QStandardItemModel,and append rows automatically.
When a lots of rows append into the table,the vertical scrollbar display,and now I want to show the last row automatically but no with dragging the scroll bar,how to do?

Thank you.

BreakBad
25th July 2012, 14:41
QTableView.scrollToBottom()