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

Dynamic menu for each Item callback based #47

Open
cat0rgi0 opened this issue Oct 26, 2018 · 0 comments
Open

Dynamic menu for each Item callback based #47

cat0rgi0 opened this issue Oct 26, 2018 · 0 comments

Comments

@cat0rgi0
Copy link

cat0rgi0 commented Oct 26, 2018

I'm looking for a way to populate a dynamic context menu in a callback ajax call.
I mean i found a method to create dynamic numbers of row(li) but it works on modyfing directly the DOM element and i don't think is a good practice especially because i have to add an hanlder function click for every element of menu.
So i don't understand reading all requests and issues if the object menu in
.on('contextmenu',d3.contextMenu(menu,...must only be instantiated before contextMenu function called.

@cat0rgi0 cat0rgi0 changed the title Dynamic Menu on clicked item Dynamic menu for each Item Oct 28, 2018
@cat0rgi0 cat0rgi0 changed the title Dynamic menu for each Item Dynamic menu for each Item callback based Oct 28, 2018
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