I have a kendo grid with no datasource specified. Items get added to the grid via a javascript function:
var grid = $("#MyGrid").data("kendoGrid");
grid.dataSource.insert(data);
After items are added to the grid, if I call grid.saveAsExcel(); nothing gets exported and the grid get's cleared out.
What approach should I use to get the data to export?
No server call should be needed for this at all. I just want to export the items that have been added via javascript.