Edit this page

sheets.rows.cells.formula String

Sets the formula that Excel uses to compute and display the cell value

Example - set the cell formula

<script>
var workbook = new kendo.ooxml.Workbook({
  sheets: [
      {
          rows: [
              { cells: [ { value: 1 }, { formula: "=SUM(A:A)" } ] },
              { cells: [ { value: 2 } ] }
          ]
      }
  ]
});
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