Hello Team,
I am using Infrasgistics for Angular version is 9.1.16.
The issue is whenever I try to copy the data from Igx Tree grid using CTRL+C and paste it in notepad ; the operation is working. i.e., nothing gets copied to the clipboard.Can someone support me here?
Hello Shobhana,
From the code snippet, I can see that the IgxGrid is used, instead of the IgxTreeGrid, as in the original question by Kavya. Nevertheless, by setting the clipboardOptions object as you have, copying cells should be working. A quick reference to the 9.1.28 API here confirms that copy behavior in the grid was indeed available in this version.
Please, keep in mind that, as stated in my previous reply, version 9.1.x. is no longer eligible for support services and does not receive any bug fixes, nor new development. As it has been 3 months since the start of this discussion, the supported versions in the time of writing this are 12.3.x , 13.2.x and 14.0.x.
Having this in mind, we strongly recommend upgrading your Angular and IgniteUI for Angular versions to any of the supported ones, best to the latest, as it contains the most enhancements and fixes. So, as an issue with the grid copying behavior cannot be reproduced on my side, or any of the samples in our documentation, this indicates it might be local to your project.
What I can think of a possible configuration that might prevent correct copying is in case the grid’s cellSelection property is set to ‘none’. Thus, the cells could not be selected for copying. Please, make sure the cell selection behavior is either ‘single’ or ‘multiple’. Alternatively, providing more details about your configuration might provide more insight on to what may be causing an eventual issue.
Finally, while copying is supported out of the box, pasting is currently not, as listed in the Limitations section here. It has to be implemented on application level as demonstrated in this demo.
Best regards,Bozhidara PachilovaAssociate Software Developer
Hello Bozhidara,
I have used the below code:
Hi Kavya,
Thank you for contacting Infragistics Developer Support!
Please, keep in mind that according to our Product Lifecycle, version 9.1.16 is no longer eligible for support services and does not receive any bug fixes, nor new development. For more details regarding maintenance and support of IgniteUI for Angular, please refer to out Versioning Wiki page in GitHub here.
The currently supported versions are 11.1, 12.3 and 13.1.
Regarding clipboard support in the IgxTreeGrid, please refer to the Tree Grid Clipboard Interactions page in our documentation here. There you will also find a demo, which you could use to test copy/paste operations.
What I can say clipboard interaction was available in version 9 and unless specifically disabled, copying cell contents should work. Please, make sure that in case the clipboardOptions input property is set for the tree grid, it has its ‘enabled’ option set to ‘true’.
Please, let me know of any other questions on the matter.