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. How to implement a "live" table, with sorting and filtering
Forum Updated to NodeBB v4.3 + New Features

How to implement a "live" table, with sorting and filtering

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 112 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.
  • J Offline
    J Offline
    Jo Jo
    wrote last edited by Jo Jo
    #1

    I need to implement a "live" table that initially has 100,000 rows. New rows can be added as data arrives. I need the ability to sort and filter the table contents and do it fast. Newly added data should take into account the current sorting and filter. For example, if the data is sorted from Z-A, then when you add "Zebra" it should appear at the top of the table. Does Qt have such capabilities?

    1 Reply Last reply
    0
    • J Jo Jo deleted this topic
    • J Jo Jo restored this topic
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote last edited by
      #2

      Hi and welcome to devnet,

      You might want to take a look at QSortFilterProxyModel.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • J Offline
        J Offline
        Jo Jo
        wrote last edited by
        #3

        @SGaist Thank you!

        1 Reply Last reply
        0

        • Login

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