Forum


18:33

15/05/2010

http://www.trirand.com/jqgridw.....iki:events
You just need to define a right click event for the grid parameters.
Event | Parameters | Description |
---|---|---|
onRightClickRow |
rowid, |
Raised immediately after row was right clicked. rowid is the id of the row, iRow is the index of the row (do not mix this with the rowid), iCol is the index of the cell. e is the event object. Note – this event does not work in Opera browsers, since Opera does not support oncontextmenu event |
21:44

27/05/2010

That event worked for showing a context menu. However, my new problem occurs if the user doesn't click an option in the context menu it doesnt disappear unless the user right clicks on another row in the grid. I would assume that clicking on any row would cause the context menu to disappear but that isnt the case. I've tried several ContextMenu plugins and I get the same result with each. I tried using the onSelectRow event to close the context menu but that isnt working either.
Any suggestions?
21:53

Moderators
30/10/2007

Hello,
You can look into the demos:
New in version 3.5 => TreeGrid real world example
where we use this
http://www.trendskitchens.co.n.....ntextmenu/
plugin
Best Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
Most Users Ever Online: 715
Currently Online:
53 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66