We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

select text and copy text data and paste

Hi,

  I am not able to select text and copy that data to paste. I have attached screenshot and sample code for your reference. In screenshot 1 it is able to copy the text data. I want implement same in the second screenshot. i have used some property but its not working. please let me know as soon as possible  because this is production issue



Attachment: syncfusio_5ab1c14a.rar

5 Replies

MV mahendra venkatrao manale April 11, 2023 01:07 PM UTC

Please update as soon as possible because this is high priority issue



MV mahendra venkatrao manale April 12, 2023 02:42 AM UTC

please arrange meeting



RR Rajapandi Ravi Syncfusion Team April 12, 2023 01:20 PM UTC

Hi mahendra,


Greetings from Syncfusion support


Before we start providing solution to your query we would like to inform you about the paste functionality in the Grid. You can able to copy the content of a cell or a group of cells by selecting the cells and pressing Ctrl + C shortcut key and paste it to another set of cells by selecting the cells and pressing Ctrl + V shortcut key. To perform paste functionality, it requires the selection mode to be Cell, cellSelectionMode to be Box and also Batch Editing should be enabled. Please refer the below documentation for more information.


Documentation: https://ej2.syncfusion.com/angular/documentation/grid/clipboard#paste


                              https://ej2.syncfusion.com/angular/documentation/grid/clipboard#limitations-of-paste-functionality


We have checked your shared attachments, we cannot able to see what type of edit mode you are using in your application and also we have noted that you are not defined the isPrimarykey property in the column definition. Once you pasted your content and try to update the changes the primarykey is must be defined for performing CRUD actions. So please refer the above shared documentation and if you still face the issue, please share the below details,


1)          Share your requirement with detailed description.


2)          Share your exact requirement scenario in pictorial representation or video demonstration.


3)          Share your complete Grid rendering code (ts & html).


4)          Share your syncfusion package version.


Regards,

Rajapandi R



MV mahendra venkatrao manale April 13, 2023 06:40 AM UTC

Hi  Rajapandi ,

I have attached file for your reference. I don't want to edit that grid row or cell. whatever data is there on grid i just want select any row and copy that data. in my case i am unable to select data. Just see in picture 1 i am able to select that data and copy it. i want to do same with picture 2 grid. but see in pic 2 i am not able to select any row data with left click  and copy it. copy option is not visible and not able to select it. i have attached html and ts file for your reference . if you are not able to understand from above reference please arrange meeting I will show exact requirement. i have attached version file also.



Attachment: sync_669d5549.rar


DM Dineshnarasimman Muthu Syncfusion Team April 14, 2023 04:55 PM UTC

Hi Mahendra,


We can understand the issue of not able to select and copy the text data of the grid row. We have validated the sample which you have provided but only the HTML file contains the data, the ts file contains no data. Can you please ensure the ts file. To proceed further we need following details.


  • Grid rendering sample for the grid in which the selecting and copying is making issue.


  • Syncfusion package version


Regards,

Dineshnarasimman


Loader.
Live Chat Icon For mobile
Up arrow icon