0
I have a data table, where each row is a record. I want to do like Windows or One Drive/Outlook etc.. Right-clicking the table item opens a menu with the options "Delete" "Edit" and "Hide".
I have been researching about these interactions with the right button but only found equivalent to disable his click on the whole page..
How this concept would be applied only to display the menu..
The scenario is:
A table with columns ID and Name , to each row I have an ID and Name, when right clicking on a row opens a menu with the options "Edit", "Delete", "Hide", where each option is a link, as: "edit.php? id=ID", where ID is the number of the first column.
I didn’t put code because I couldn’t implement anything like it and the table is a common table.
Ivcs, I think you went through the same trouble I did, you know what you want, but you don’t know the name of what you want. Search for "custom context menu".
– Rubico
This is called contextmenu, it has a question here that helps you to create an http://answall.com/questions/112469/como-crea-um-menu-de-customcontextion/112472#112472
– Gabriel Rodrigues
I knew it was the
contextmenu
, but I can’t apply it to one element, only to the whole page.– Leonardo