devextreme-angular icon indicating copy to clipboard operation
devextreme-angular copied to clipboard

DxDataGrid Context Menu Not showing

Open Angelminster opened this issue 10 years ago • 3 comments

public onContextMenuPreparing(e: any) { if (e.target == 'content') { e.items = this.contextMenuItems; } return e; }

The event is called but the context menu doesn't show

Angelminster avatar Jun 27 '16 14:06 Angelminster

It seems that the event 'onContextMenuPreparing' is called twice

Maybe related (still not working for me): "Starting with version 16.1, handling of the dxcontextmenu event does not prevent the default browser behavior. This helps avoid issues that might occur when a browser doesn't react to user interactions as expected. You can manually suppress the execution of the default action as follows:

[JScript] $(document).on("dxcontextmenu", function(e) { e.preventDefault(); }); "

Angelminster avatar Jun 28 '16 20:06 Angelminster

I have reproduced the behavior and it looks to me as a bug. We need some time for further research.

dxbykov avatar Jun 29 '16 13:06 dxbykov

Version 16.1.5 solves this issue.

Angelminster avatar Aug 03 '16 11:08 Angelminster