4 Answers, 1 is accepted
Hi Stefan,
Thanks.
I had referred this example to make copy in context menu.
https://www.telerik.com/kendo-react-ui/components/grid/advanced-features/context-menu/
On copy i need the cell copy but as of now i getting complete row copy.
Hello, Rashmi,
I assume that the issue occurs because the example is made to use the row data instead of a single cell data.
A possible way will be to get the content of the target element based on where the context menu is opened and programmatically set the value to the clipboard:
https://stackblitz.com/edit/react-xhmatr?file=app/main.jsx (test in full screen as the iframe of stackblitz is preventing the clipboard operation.)
If the issue still occurs, please share an example of it and I will be happy to assist further.
Regards,
Stefan
Progress Telerik
Hi,
Thanks Stefan it worked.
Thanks