Results 1 to 2 of 2

Thread: how to display the last row of Qtableview?

  1. #1
    Join Date
    Mar 2009
    Location
    Gansu,China
    Posts
    188
    Qt products
    Qt4
    Platforms
    Windows

    Default how to display the last row of Qtableview?

    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.

  2. #2
    Join Date
    Jun 2012
    Posts
    25
    Thanks
    7
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: how to display the last row of Qtableview?

    QTableView.scrollToBottom()

Similar Threads

  1. QTableView that display individual items
    By Zalwou06 in forum Qt Programming
    Replies: 4
    Last Post: 15th May 2012, 13:19
  2. QTableView and display of doubles
    By b1 in forum Qt Programming
    Replies: 9
    Last Post: 18th November 2011, 22:52
  3. How do I display a picture on a QTableView cell?
    By danielperaza in forum Qt Programming
    Replies: 16
    Last Post: 9th April 2010, 22:04
  4. Replies: 2
    Last Post: 7th June 2009, 10:47
  5. QTableview data display font question
    By MarkoSan in forum Newbie
    Replies: 8
    Last Post: 14th May 2008, 12:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.