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

    Single selection datatable for many actions available in the same form via buttons

    Framework
    2
    2
    656
    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.
    • A
      Afonso Santos last edited by

      How do I select a row in single-mode out of slot context, ie when I click a select single retrieve the line object in a method?

      The situation is that I have to select a line retrieve this object so that I can trigger multiple actions with it available in the same form

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

        Hello. Your question is not clear.
        If you want to use the data stored in a row for a method, one way is to place a button to call said function inside the “selection” slot.
        You then need to pass the row data as an argument to your function. I believe thid can be access by using “selection.rows[0].data” but might be wrong

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