Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Searching for a particular entry in a table by lineedit

Searching for a particular entry in a table by lineedit

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 3 Posters 1.1k 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.
  • P Offline
    P Offline
    prabhatjha
    wrote on last edited by
    #1

    hey i have tableview in which i want to search for particular text by lineedit.
    and if particular text got in tablview i want to show that row in another tablview.

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      this sounds like "the example you need ":http://qt-project.org/doc/qt-5/qtwidgets-itemviews-customsortfiltermodel-example.html

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Jens
        wrote on last edited by
        #3

        We are actually planning on blogging about how to do this soon. But as eddy said, you will still need some C++ to support this at the moment. On the upside you could make a proxy that supports any ListModel you pass to it.

        I think we will provide this as an example in Qt Quick Controls as well if we don't end up supporting this behaviour in TableView itself.

        1 Reply Last reply
        0
        • EddyE Offline
          EddyE Offline
          Eddy
          wrote on last edited by
          #4

          Hi Jens,

          Thanks for popping in on the forums regularly.

          Your insights are much appreciated here! Looking forward for the next blog!

          Qt Certified Specialist
          www.edalsolutions.be

          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