Can Qscrollarea be implemented in Qtable?
-
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?
-
@maptesting please explain what doesn’t work? because i tested and it works.
-
@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.
-
@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.
-
okay, thanks