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

    Virtualization for QTree

    Framework
    2
    2
    187
    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.
    • B
      baye last edited by

      Hello,
      I have the hierarchical list (parent->children; 1 level only, no multi-levels) which may contain thousands of items; and I’m using QTree to display it in expanded mode (UI requirement).

      The problem: if the total number of items (both parent and children) is close to 5K - the UI rendering for QTree becomes very slow.

      So the question: is there any way how to provide the virtualization for QTree?

      Quasar Framework provides QVirtualScroll component which is exactly what I need.
      But QVirtualScroll supports list and table only.
      I tried to integrate QVirtualScroll with QTree by few ways but no luck, or I making this incorrectly.

      Any ideas how I could make the virtualization for QTree?
      Or may be some real examples how to use QVirtualScroll with QTree - if it shall work?

      Thanks!

      S 1 Reply Last reply Reply Quote 1
      • S
        studio511 @baye last edited by

        @baye hi, did u manage to find a solution to this.
        I have the same issue. Tried q-virtual-scroll with the tree but when used together it appears that the tree is defaulted to expanded all … it improves the load but not overall performance…

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