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. [Solved]why is there no auto-fetching tableview
Forum Updated to NodeBB v4.3 + New Features

[Solved]why is there no auto-fetching tableview

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 565 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
    jfabiani
    wrote on last edited by
    #1

    I could be wrong but I do not find a QtxxxView that will auto-fetch from the database. What I'm talking about is displaying a grid and as the user scrolls up or down retrieve (fetch) the data required by the display. It seems silly to retrieve all the records at one time. Yes I'm sure it can be written but why it's not a built-in feature is beyond me (It's was available in FoxPro over 10 years ago). Has someone written this code or could someone provide a link. At least tell me how to get it done.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jfabiani
      wrote on last edited by
      #2

      You need to google search the phrase
      "Qt lazy loading".

      That will return plenty of stuff. Following the articles works but IMO should be a simple flag in all the QxxxxViews.

      Johnf

      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