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

    Can Qscrollarea be implemented in Qtable?

    Help
    2
    5
    345
    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.
    • I
      IO2021 last edited by

      I tried adding Qscrollarea code to dynamic virtual scroll table, but it was unsuccessful

      <q-scroll-area style="height: 200px; max-width: 300px;">
       <q-table
        class="my-sticky-dynamic"
        :data="data"
        :columns="columns"
        :loading="loading"
        row-key="index"
        virtual-scroll
        :rows-per-page-options="[0]"
        @virtual-scroll="onScroll"
       >
       </q-table>
      </q-scroll-area>
      

      Can Qscrollarea be implemented in Qtable?

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

        @maptesting please explain what doesn’t work? because i tested and it works.

        I 1 Reply Last reply Reply Quote 0
        • I
          IO2021 @metalsadman last edited by

          @metalsadman
          Actually, I want to use it in dynamic virtual scroll table (the red part) , but if I try to use the above code, the effect is the blue part.
          螢幕快照 2020-08-31 下午7.15.25.png

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

            @maptesting you want the scroll style inside the virtual-scroll in the table? then no, maybe try some css to style the native scroller which virtual-scroll shows.

            I 1 Reply Last reply Reply Quote 0
            • I
              IO2021 @metalsadman last edited by IO2021

              @metalsadman

              okay, thanks 🙂

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