New to Kendo UI for jQueryStart a free 30-day trial

Creates an Excel file that represents the current workbook and returns a Promise that is resolved with the data URL.

Returns:Promise

- A promise that will be resolved with the Excel file as data URL.

<script>
var workbook = new kendo.ooxml.Workbook({
  sheets: [
      {
          rows: [
              { cells: [ { value: "foo" } ] }
          ]
      }
  ]
});

workbook.toDataURLAsync().then(function(dataURL) {
    kendo.saveAs({
      dataURI: dataURL,
      fileName: "Test.xlsx"
    });
});
</script>
Not finding the help you need?
Contact Support