sheetsArray

The sheets of the workbook. Every sheet represents a page from the final Excel file.

Example

<script>
var workbook = new kendo.ooxml.Workbook({
  sheets: [
      {
          name: "Sheet1",
          rows: [
              { cells: [ { value: "Header 1" }, { value: "Header 2" } ] },
              { cells: [ { value: "Data 1" }, { value: "Data 2" } ] }
          ]
      }
  ]
});

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