sheets.rows.cells.fontFamily String (default: "Calibri")

Sets the font for displaying the cell value.

Example - setting the font name

<script>
var workbook = new kendo.ooxml.Workbook({
  sheets: [
      {
          rows: [
            { cells: [ { value: "Arial", fontFamily: "Arial" } ] }
          ]
      }
  ]
});
kendo.saveAs({
  dataURI: workbook.toDataURL(),
  fileName: "Test.xlsx"
});
</script>
In this article
Not finding the help you need? Improve this article