diff --git a/src/embed/ts-embed.ts b/src/embed/ts-embed.ts index 31ccb6d3..4134843a 100644 --- a/src/embed/ts-embed.ts +++ b/src/embed/ts-embed.ts @@ -491,7 +491,8 @@ export class TsEmbed { * from version 9.2.0.cl the user have an option to override context * menu click */ - if (contextMenuTrigger === ContextMenuTriggerOptions.LEFT_CLICK) { + if (contextMenuTrigger === ContextMenuTriggerOptions.LEFT_CLICK + || contextMenuTrigger === ContextMenuTriggerOptions.BOTH_CLICKS) { queryParams[Param.ContextMenuTrigger] = true; } else if (contextMenuTrigger === ContextMenuTriggerOptions.RIGHT_CLICK) { queryParams[Param.ContextMenuTrigger] = false; diff --git a/src/types.ts b/src/types.ts index 6322f9d1..adae0aef 100644 --- a/src/types.ts +++ b/src/types.ts @@ -4471,6 +4471,7 @@ export enum PrefetchFeatures { export enum ContextMenuTriggerOptions { LEFT_CLICK = 'left-click', RIGHT_CLICK = 'right-click', + BOTH_CLICKS = 'both-clicks', } export interface ColumnValue {