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

can i copy paste specific group of cells from Excel sheet to grid

1 Answer 82 Views
Grid
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 28 Mar 2019, 01:44 PM

I was looking at the Copy Data From Excel demo - it appears to apply to pasting a complete row.

we have some grids that have a combination cells with text attributes and cells where user can enter numeric values

we have the need to paste a group of contiguous numeric cells from and excel sheet into the grid

Can the demo approach be modified to paste a smaller group of contiguous cells?

 

thanks

 

jim

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 01 Apr 2019, 09:57 AM
Hi Jim,

It is possible to modify the how-to in a way that only one of the columns is populated with the data that is pasted. For example only the Age field can be populated by changing the code on line 60:


Note that this approach depends on the users copying the correct data. Give the modified sample a try and let me know how it works for you.



Regards,
Viktor Tachev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
James
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or