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

    How to get a grid like QTable with new QVirtualScroll?

    Help
    faq-ui
    4
    4
    469
    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.
    • U
      user98034h last edited by s.molinari

      QTable has :grid="$q.screen.xs" for making it responsive stack vertically when on mobile. How can i do the same thing with QVirtualScroll?

      Original QVirtualScroll codepen
      https://codepen.io/pen/?&editable=true&editors=111

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

        @user98034h - You can’t unfortunately. At least not as you are thinking. QVirtualScroll is only using QMarkupTable, which doesn’t have that feature. You should be able to design something similar with the slot given on your own though.

        Scott

        1 Reply Last reply Reply Quote 0
        • metalsadman
          metalsadman last edited by

          @user98034h you can style it, but you’ll have to take care of how your items are populated https://codepen.io/metalsadman/pen/mdbXWwp.

          1 Reply Last reply Reply Quote 2
          • rstoenescu
            rstoenescu Admin last edited by

            @metalsadman awesome pen. can you PR it to docs pls? 😉

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