Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to use contextMenu on a Table? #1799

Open
andyjamesn opened this issue May 17, 2024 · 0 comments
Open

Is it possible to use contextMenu on a Table? #1799

andyjamesn opened this issue May 17, 2024 · 0 comments
Labels
question Further information is requested

Comments

@andyjamesn
Copy link

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?

@andyjamesn andyjamesn added the question Further information is requested label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant