Hello,
I have a problem with saving excel. I need to save it synchronously.
For pdf there is:
var $grid = $('#grid').data('kendoGrid');
$grid.saveAsPDF().then(function () {});
I need the same functionality for excel, but I dindn't found any. Basically I need to execute $grid.saveAsExcel(); then after that to do something like alert("Excel export is done!"); but now alert is displayed before $grid.saveAsExcel() finish to execute.
Please provide a solution. Thanks.
I have a problem with saving excel. I need to save it synchronously.
For pdf there is:
var $grid = $('#grid').data('kendoGrid');
$grid.saveAsPDF().then(function () {});
I need the same functionality for excel, but I dindn't found any. Basically I need to execute $grid.saveAsExcel(); then after that to do something like alert("Excel export is done!"); but now alert is displayed before $grid.saveAsExcel() finish to execute.
Please provide a solution. Thanks.