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 have the contextmenu setup so that when I right click a table row I am able to retrieve the id of the item in the current row and perform actions based on the menu selection and the row ID.
Is it possible to update the menu title as setup in the docs below with data from the row that context menu was displayed on.
I have the contextmenu setup so that when I right click a table row I am able to retrieve the id of the item in the current row and perform actions based on the menu selection and the row ID.
Is it possible to update the menu title as setup in the docs below with data from the row that context menu was displayed on.
https://swisnl.github.io/jQuery-contextMenu/demo/menu-title.html
I can pull that data using this
var currentRow=$(this).closest("tr");
var usrname= 'User: ' + currentRow.find("td:eq(3)").text();
However I cannot seem to inject this into the menu title.
Can you help?
The text was updated successfully, but these errors were encountered: