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 whit virtual-scroll v-slot top-row or top-bottom not working

    Framework
    2
    2
    643
    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.
    • J
      jpolstrre last edited by

      In my configuration q-table :

        <q-table
            class="my-sticky-header-column-table-caja"
            dense
            :data="cajaFilterDateData"
            :columns="columns"
            :filter="filter"
            :filter-method="filterCaja"
            row-key="name"
            :rows-per-page-options="[0]"
            :pagination.sync="pagination"
            flat
            bordered
            separator="cell"
            table-header-class="bg-orange text-white"
            virtual-scroll
          >
            <template v-slot:top-row>
              <q-tr>
                <q-td colspan="100%">Top row</q-td>
              </q-tr>
            </template>
      
            <template v-slot:bottom-row>
              <q-tr>
                <q-td colspan="100%">Bottom row</q-td>
              </q-tr>
            </template>
      

      display:table whit  virtual-scroll
      Only working whitout virtual-scroll prop:

       <q-table
            class="my-sticky-header-column-table-caja"
            dense
            :data="cajaFilterDateData"
            :columns="columns"
            :filter="filter"
            :filter-method="filterCaja"
            row-key="name"
            :rows-per-page-options="[0]"
            :pagination.sync="pagination"
            flat
            bordered
            separator="cell"
            table-header-class="bg-orange text-white"
          >
            <template v-slot:top-row>
              <q-tr>
                <q-td colspan="100%">Top row</q-td>
              </q-tr>
            </template>
      
            <template v-slot:bottom-row>
              <q-tr>
                <q-td colspan="100%">Bottom row</q-td>
              </q-tr>
            </template>
      

      Display correctly:
      alt text

      How can I solve the problem or get the desired result?
      Thank you.

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

        @jpolstrre Any known fix for this issue?

        Thank you

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