You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to implement a context menu on table rows.
I can get the context menu to show when right clicking on a row and also using the $event @contextmenu.prevent="onContextMenu($event)" I can get the the table row Dom element. I was thinking if I could store the row id as an attribute on the row I could make it work, but not sure how to add a custom attribute and also it feels very long winded.
Is there a better way to achieve this?
The text was updated successfully, but these errors were encountered:
Description
I am trying to implement a context menu on table rows.
I can get the context menu to show when right clicking on a row and also using the $event
@contextmenu.prevent="onContextMenu($event)"
I can get the the table row Dom element. I was thinking if I could store the row id as an attribute on the row I could make it work, but not sure how to add a custom attribute and also it feels very long winded.Is there a better way to achieve this?
The text was updated successfully, but these errors were encountered: