ParamQuery

General Category => Suggest new features => Topic started by: Autoflow on July 25, 2019, 08:14:11 pm

Title: Show native browser contextmenu, ie. on e.ctrlKey
Post by: Autoflow 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
Title: Re: Show native browser contextmenu, ie. on e.ctrlKey
Post by: paramvir 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;
}