Edit this page

sheets.rows.cells.value Date |Number |String |Boolean

The value of the cell. Numbers and dates will be formatted as strings. String values are HTML encoded.

Example - set the cell values

<script>
var workbook = new kendo.ooxml.Workbook({
  sheets: [
      {
          rows: [
            { cells: [ { value: "Name" }, { value: "Birthday" }, { value: "Age" } ] },
            { cells: [ { value: "John" }, { value: new Date(1980, 1, 5) }, { value: 34 } ] }
          ]
      }
  ]
});
kendo.saveAs({
  dataURI: workbook.toDataURL(),
  fileName: "Test.xlsx"
});
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy