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

    datatable show a button on bar without the "selection"

    Help
    2
    2
    617
    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.
    • L
      lattamore last edited by

      When defining a datatable it is easy to add buttons to the slot=“selection” as in the demo code. Is there another slot to allow a button in this area without the selection?

      For instance a datatable that shows addresses of a current person. If they don’t have one I would like to see a button on the bar for “add”. If selection occurs the “Edit” and “Delete” would show up next to the add button. Does this functionality exist?

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

        Not at the moment. Datatable is due for a complete rewrite with v0.15 which is coming soon.

        If you want your user to select items, you can also use slots, or the @rowclick event

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