menu-by-right-clicking-on-the-mouse

Questionsmenu-by-right-clicking-on-the-mouse
DGea asked 1 week ago

Good morning sir Abu,

Is it possible to add menus to each row of data by right-clicking on the mouse?

Reference: https://imgur.com/OCk7gLu

Thank you so much

3 Answers
Abu Ghufran Staff answered 1 week ago

You can check this context menu demo.

See attached code for help, include JS/CSS files and connected loadComplete event.

Code: https://gist.github.com/gridphp/b5416f203fdac93623b614a5f455731c
Line 26,44,53

It uses following jQuery lib. To customize refer documentation there:
https://swisnl.github.io/jQuery-contextMenu/demo/sub-menus.html

_________________________
Abu Ghufran - Dev Team
PHP Grid Framework
 
DGea answered 1 week ago

Thank you Sir.

But there are no examples of how to have links to other sites on each menu, based on the id of each row of data. Anyone can help?

Abu Ghufran Staff answered 4 days ago

Code updated at gist to use rowid and cell data.

https://gist.github.com/gridphp/b5416f203fdac93623b614a5f455731c

Line 61,62

_________________________
Abu Ghufran - Dev Team
PHP Grid Framework
 
Your Answer

9 + 5 =

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!