This is a migrated thread and some comments may be shown as answers.

How to copy the selected cell?

1 Answer 90 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Higher
Top achievements
Rank 1
Higher asked on 14 Feb 2017, 09:10 AM
Such as title.

1 Answer, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 14 Feb 2017, 02:44 PM

Hello Higher,

  

The behavior you describe is not supported out of the box. Note that the selected cells in RadGrid are essentially HTML elements. If you would like to copy the values from them you would need to implement custom logic. 

There is a code library that illustrates how you can use copy-paste in the RadGrid control. Give it a try and see how it works for you.

http://www.telerik.com/support/code-library/copy-paste-cell-row-data-through-radcontextmenu-with-batch-editing

With that said, if you would like to copy the values from table cells directly you should consider using the RadSpreadsheet control. If provides the behavior you describe out of the box.

http://demos.telerik.com/aspnet-ajax/spreadsheet/examples/overview/defaultcs.aspx

Best regards,

Rumen

Telerik by Progress

Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Higher
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or