Navigation

    Quasar Framework

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Forcing q-table footer to be open when there is no data

    Help
    2
    3
    27
    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.
    • N
      nwschaffer1173 last edited by nwschaffer1173

      I was wondering if there was a way to force the footer on a q-table to be open even when there are no results

      6ce42965-a8ba-424d-b5ab-7361b76b9fb5-image.png

      I want the footer to display like below:

      596bc138-7daf-4a20-80f5-b10dca22c13d-image.png

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

        @nwschaffer1173 use no-data slot.

        <q-table ...>
          <template #no-data>
            <q-btn .../>
        ...
        
        1 Reply Last reply Reply Quote 0
        • N
          nwschaffer1173 last edited by

          Thank you!

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