23 questions
0
votes
0
answers
38
views
Jquery-contextMenu does not trigger the event on the new target element
I am using the jQuery contextMenu library v2.9.2. I want to close the context menu by clicking outside the context-menu div but I also need to focus on the element where I just clicked (new target). I ...
0
votes
1
answer
1k
views
how can i make a dynamic context menu
https://swisnl.github.io/jQuery-contextMenu I am using the context menu here
$.contextMenu({
selector: '.selectedItem',
// trigger: 'none',
callback: function (key, options) {
...
0
votes
1
answer
92
views
Using jQuery contextmenu to move items between lists - attach to new event after finished
I have 2 lists, A and B. I use A context menu (right click menu) which moves the item onto the other list but when I right click this item it is using its original data and classes. How do I achieve ...
2
votes
1
answer
2k
views
Using Context Menu with FullCalendar
I am trying to use Martin Wendt's context menu control with FullCalendar in a similar manner to this question.
A context menu is supposed to appear whenever an event is right clicked but the problem ...
1
vote
1
answer
726
views
Jquery contextMenu title and function on submenu
I'm creting a jquery context menu, using https://swisnl.github.io/jQuery-contextMenu/ .
I've sucessfully done the creation part of the submenu.
I had to use build, in order to have some data that is ...
0
votes
1
answer
118
views
How to use setTitle since setEntry is deprecated
i have an contextmenu which gets filled with an async server request.
While its loading i am prefilling this menu like this.
$(document).contextmenu("setEntry", "test", "(loading...)");
But i've seen ...
0
votes
1
answer
1k
views
How to disable right-clicks on Plotly-Object?
I want to use a contextmenu (jQuery contextMenu) on top of a Plotly object.
The problem is that, when I select multiple elements with the Box- or Lasso-select tool and then right-click on a bar, it ...
0
votes
1
answer
278
views
How to append menu to some element, rather then <body>? appendTo?
If i use Jquery Context menu on my page, then all html code appears inside BODY tag. Right before closing
I need that this html code located inside MY div with id="mydiv" .
I need it for my z-index ...
0
votes
0
answers
111
views
Javascript libraries conflict
I have a web page that uses this JS libraries:
calendar_en.js --- (www.dhtmlgoodies.com, v2.1.2)
jquery-min.js --- (jQuery v3.2.1)
jquery-migrate-3.0.1.min.js
jquery-ui.min.js --- (jQuery UI - v1.12.1)...
1
vote
0
answers
309
views
apply functions for contextMenu on each event in FullCalendar.js
I'm working with Fullcalendar.js and I set for each event a Simple Contextmenu that makes a specified function (change status when confirming a medical appointment). Next code sample works fine only ...
0
votes
1
answer
1k
views
JQuery Context-menu assimilation with FullCalendar
I'm dealing with Martin Wendt's jQuery Context-menu plugin and I'm trying to integrate it in my FullCalendar plugin. The issue is that nothing happens on right-clicking on the event. So, no context-...
0
votes
1
answer
553
views
fetch data on selected row using contextmenu
I want to edit/delete data in a row within a table by using the Jquery contextmenu onclick event. The problem is when i click in a row the last row will be fetched rather than on the selected row.
...
0
votes
1
answer
712
views
Keep menu from closing when using touch events
I have hooked up a simple long touch function that after 500ms uses the "open" API command to open the context menu. The menu opens. However, on "touchend" the menu disappears. It only stays if I ...
2
votes
1
answer
4k
views
Showing Customized Context Menu on clicking shapes(objects of fabric.js) in Canvas
I'm using fabric.js to create shapes on canvas . on right click on the shapes i want to show a context menu based on the shape selected. I'm able to capture the right click event and find which object ...
0
votes
2
answers
535
views
Reinitialize or check to see if menu is initialized
I am having an issue where I initialize the context menu on a grid, and it works but I have another function on the page that when clicked hides the grid, when I bring the grid back the menu no longer ...