ParamQuery Grid
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ParamQuery grid support forum
»
General Category
»
Suggest new features
»
Show native browser contextmenu, ie. on e.ctrlKey
« previous
next »
Print
Pages: [
1
]
Author
Topic: Show native browser contextmenu, ie. on e.ctrlKey (Read 2815 times)
Autoflow
Pro Deluxe
Newbie
Posts: 21
Show native browser contextmenu, ie. on e.ctrlKey
«
on:
July 25, 2019, 08:14:11 pm »
Hi!
Is it possible to implement a preContext callback which makes it possible to
show the native browser context instead, ie. when ctrlKey is pressed?
Best regards,
Alexander
Logged
paramvir
Administrator
Hero Member
Posts: 6320
Re: Show native browser contextmenu, ie. on e.ctrlKey
«
Reply #1 on:
October 08, 2019, 10:16:26 am »
Alexander
It's already supported/ possible.
Browser context menu can be displayed instead of grid context menu when ctrl key is pressed by checking for evt.ctrlKey in contextMenu.items callback.
Code:
[Select]
if( evt.ctrlKey ){
return;
}
«
Last Edit: October 08, 2019, 10:24:12 am by paramvir
»
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Suggest new features
»
Show native browser contextmenu, ie. on e.ctrlKey