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

    How can I add action buttons to table (q-table)?

    Help
    3
    3
    3075
    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
      jorgev121 last edited by

      I need to add a delete button, but there are not examples on official documentation (https://quasar.dev/vue-components/table). also I can’t find any tutorial on how to do this.

      dobbel metalsadman 2 Replies Last reply Reply Quote 0
      • dobbel
        dobbel @jorgev121 last edited by dobbel

        @jorgev121

        https://codepen.io/ontwikkelfabriek/pen/jOqJYyj

        There’s a example with body-slots. I used that example to add custom content in cell’s. Instead of badges I added buttons in the first column.

        https://quasar.dev/vue-components/table#Body-slots

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

          @jorgev121 https://forum.quasar-framework.org/topic/2383/adding-a-button-to-a-cell-within-a-datatable/9?_=1601112252496

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