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

    QInnerLoading inside DataTable component

    Help
    3
    3
    1033
    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
      braga last edited by

      I have a DataTable that loads some data from IndexedDB when I go to its route. My problem is that every time I enter the route the noData message from the DataTable is displayed(pretty damn fast). So I’ve tried to do this:

      <q-data-table
             :data="weightList"
             :config="config"
             :columns="columns"
      >
      
            <template @click="t" slot="col-weight" scope="cell">
              <span class="light-paragraph">{{ cell.data }}</span>
            </template>
      
            <template slot="col-weighingDate" scope="cell">
               <span class="light-paragraph">{{ formatDate(cell.data) }}</span>
            </template>
       
            <template slot="selection" scope="selection">
               <q-btn flat invert @click="remove(selection)">
                 <q-icon name="delete" />
               </q-btn>
             </template>
        
             <q-inner-loading :visible="isLoading">
                <q-spinner size="50px" color="primary" />
             </q-inner-loading>
       </q-data-table>
      

      I have isLoading = true on the date () and I set it to false after the data is fetched from the indexedDB.

      So the <q-inner-loading> doesn’t appear when inside the DataTable component but it DOES outside.

      Does anyone knows if it suppose no to work on this specific component?

      Best regards,
      Bruno

      1 Reply Last reply Reply Quote 1
      • S
        shandrolis last edited by

        Same issue here. Will this be fixed in the upcoming revamp of the datatable in V0.15?

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

          Yes. v0.15 will have all these sorted out.

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