Need a special offer?Find out if your project fits.
+

Disable copy

Answered
dan asked on August 4, 2021

Dear support
Is there a way to disable 'Ctrl-C' copy in all of Flexmonster (pivot and drill throughs) ?
Would also like to know how do we provide custom formatting for drill through columns.
regards
Dan

2 answers

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster August 4, 2021

Hello, Dan,
 
Thank you for posting on our forum.
 
You can disable the possibility to copy the grid's content by adding the oncopy="return false" attribute to Flexmonster's container: https://jsfiddle.net/flexmonster/6h3nyozL/.
As an alternative way, you can allow copying the content using the context menu: https://jsfiddle.net/flexmonster/2fjzho06/.
 
Concerning formatting for the drill-through view, you can either use a built-in Number formatting feature or make use of the customizeCell that provides full control over cells' content.
 
Please let us know if it helps.
Looking forward to your feedback.
 
Kind regards,
Illia

Public
dan August 6, 2021

Thanks Illia, that's very helpful.

Please login or Register to Submit Answer