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

Integrating iron-data-table with any context-menu plugin. #184

Open
alboy51 opened this issue Jan 15, 2017 · 0 comments
Open

Integrating iron-data-table with any context-menu plugin. #184

alboy51 opened this issue Jan 15, 2017 · 0 comments

Comments

@alboy51
Copy link

alboy51 commented Jan 15, 2017

I tried to use 2 of the plugins

  1. https://vaadin.com/elements/-/element/vaadin-context-menu
  2. http://link2twenty.github.io/l2t-context-menu/components/l2t-context-menu/

First issue is that I cannot find how to bind it to a row, not a certain cell. I want the context menu to open when I right click on a row, but I was only able to stick it inside data-table-template. It worked, but it produced an issue of multiple menus if I click on a different cell.

Second issue - because of shadow dom, the context menu is tied to the show-dom (I think), and when I right-click on it, the menu appears BELOW the table. Both the plugins had the same result.

Do you have any ideas how create a context menu with your table? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant