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

[Solved] Export to Excel not working the second Time

1 Answer 209 Views
Grid
This is a migrated thread and some comments may be shown as answers.
HArjit
Top achievements
Rank 1
HArjit asked on 11 Dec 2014, 02:07 AM
Hi there,

I have this call to export Data from grid to Excel

$("#affectedDocGrid").data("kendoGrid").saveAsExcel()

When I make the call the first time, it works fine, when I call it the second time, it doesn't work. If I refresh the page and make the call, I get the file. Any clues why

$('#exportToExcelmyAffectedDocs').on('click',function(e){
          $("#affectedDocGrid").data("kendoGrid").saveAsExcel()
        })

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 12 Dec 2014, 09:11 AM
Hello Harjit,

I have tried to reproduce the issue, but to no avail. Can you please send us a small sample that we can test locally and reproduce the issue?

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
HArjit
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or