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

Copy cell content

Hi. Why is not possible to copy cell content (Ctrl + C, Ctrl + V) in grid? I'm trying without success.
Any help?

Tnks

3 Replies

SR Sellappandi Ramu Syncfusion Team May 26, 2015 01:50 PM UTC

Hi Washington Morais,

Thanks for using Syncfusion products.

For your kind information, we have the default property enableTouch. When we want to copy the content from grid we need to set enableTouch as false.

Based on your requirement we have created a sample and it can be downloaded from following link location.

Sample Link: http://www.syncfusion.com/downloads/support/forum/119224/Sample-142855290.zip

In the above sample we have used load event to set the enableTouch property as false. By using this property we can copy the content from grid. Please refer the following code snippet.


<ej:Grid ID="Grid" runat="server" AllowPaging="true" >

<Columns>

….

<ClientSideEvents Load="load" />

</ej:Grid>


<script type="text/javascript">

function load(args) {

this.model.enableTouch = false;

}
</script>


We would like to let you know that the enableTouch property will be included in our upcoming Volume 1, 2015 Service pack 2 releasefor ASP. NET platform.

Please refer the following output screen shot.



Please try the above sample and get back to us if you have any concerns.

Regards,
Sellappandi R


WM Washington Morais May 26, 2015 04:46 PM UTC

Simply perfect. Exactly what I wanted.
Thank you very much.


SR Sellappandi Ramu Syncfusion Team May 27, 2015 01:23 PM UTC

Hi Washington Morais,

Thanks for the update.

Please get back to us if you need any further assistance we are happy to assist you.

Regards,
Sellappandi R


Loader.
Up arrow icon