[quote]Atanas Georgiev said:Hello Darshan,
At this point paste from excel capability is not supported out-of-the-box. You can vote for the following UserVoice idea, which we will consider for future releases.
The closest suggestions we can offer at this point are:
http://docs.telerik.com/kendo-ui/web/grid/how-to/copy-from-excel-to-grid - for KendoGrid
http://www.telerik.com/forums/copy-from-excel-sheet-and-paste-it-in-radgrid - for RadGrid
Regards,
Atanas Georgiev
At this point paste from excel capability is not supported out-of-the-box. You can vote for the following UserVoice idea, which we will consider for future releases.
The closest suggestions we can offer at this point are:
http://docs.telerik.com/kendo-ui/web/grid/how-to/copy-from-excel-to-grid - for KendoGrid
http://www.telerik.com/forums/copy-from-excel-sheet-and-paste-it-in-radgrid - for RadGrid
Regards,
Atanas Georgiev
[/quote]
Atanas,
Your answer seems to be working except when the grid has a toolbar and p.e. no data.
Imagine the scenario: http://docs.telerik.com/kendo-ui/controls/data-management/grid/how-to/copy-from-excel-to-grid
Now try your method with a empty datasource and toolbar: ["create"]
The jQuery selector will select as well the the toolbar causing a button malfunction.
And since there is no data you can't select and paste on "k-grid-content" class