No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    QTable virtual scroll and items provided by a server

    Framework
    2
    2
    1487
    Loading More Posts
    • 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.
    • L
      laure-at-irun last edited by

      Hi all,

      Is there any way to use the virtual scroll with data provided asynchronously by a server ?

      I am trying to create a table with infinite scrolling, similar to the virtual scroll feature. However, whenever the user scrolls, an event should be triggered to fetch the requested items from the server. With today’s implementation, scrolling doesn’t trigger any event (in particular, it doesn’t trigger the @request event).

      Does anyone know how to achieve this? Does this require additional development on QTable?

      Thanks
      Laure@i-run

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        I’m not sure it would work with QTable’s virtual scroll, but there is an example of pulling data asynchronously with QVirtualScroll. That might get you going.

        https://quasar.dev/vue-components/virtual-scroll#Example--Generate-items-on-the-fly

        Scott

        1 Reply Last reply Reply Quote 0
        • First post
          Last post