Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Fill QTableView incrementally
Qt 6.11 is out! See what's new in the release blog

Fill QTableView incrementally

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 706 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nnzz
    wrote on last edited by
    #1

    I have QTableView with thousands of lines, is there a way to fill it gradually?
    The user never see more than 10 rows at a time anyway

    1 Reply Last reply
    0
    • N Offline
      N Offline
      nnzz
      wrote on last edited by
      #2

      I'm using QAbstractTableModel

      1 Reply Last reply
      0
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi
        There is the FetchMore method
        http://doc.qt.io/qt-5/qtwidgets-itemviews-fetchmore-example.html

        http://doc.qt.io/qt-5/qabstractitemmodel.html#canFetchMore

        1 Reply Last reply
        3
        • N Offline
          N Offline
          nnzz
          wrote on last edited by
          #4

          THX! I just found it :)

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved