We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

Override copy event

Resolved
Massimo asked on March 28, 2022

Hi team,
i have an angular 12 app and i want to "override" the copy event using Render2 service, unfortunately there is a problem when i try to copy a null cell any events was triggerd.
example:

@ViewChild("pivot",{read: ElementRef, static: false})
pivotElement:ElementRef;
this.render.listen(this.pivotElement.nativeElement,'copy',(event)=> this.onCopy(event))

do you have any suggestion about it? 
 
Thanks!
Massimo 

1 answer

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster March 29, 2022

Hello, Massimo!
Thank you for your question.
 
Our team wants to inform you that there is no option to override ctrl + C functionality in Flexmonster.
 
Nevertheless, we can suggest a handy workaround. There is an option to customize the context menu and add a tab with your copy function.
To read more about this approach, please visit our documentation page: https://www.flexmonster.com/doc/customizing-context-menu/
 
Feel free to ask if any further questions arise.
 
Regards, 
Solomiia

Please login or Register to Submit Answer