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

    MouseEnter event for QTable Row

    Framework
    2
    3
    242
    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.
    • F
      fernando89c last edited by

      Hi, I’m trying to show a delete button on each row of a q-table, but only when the mouse is over that row. I’m looking for something like @row-click, but for mouseover. Is there anyway to do that?

      Thanks in advance.

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

        @fernando89c you can use body slot, and add the event in your q-tr. something like this https://codepen.io/metalsadman/pen/abdrdJR.

        1 Reply Last reply Reply Quote 0
        • F
          fernando89c last edited by

          Thanks for your reply. I was aware of the use of the body slot for that, but I thought it was necessary to recreate each of the TDs manually, so I was avoiding using it. But your example shows how to continue to generate them automatically. Thanks.

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