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" } ] }
]
}
]
});
workbook.toDataURLAsync().then(function(dataURL) {
kendo.saveAs({
dataURI: dataURL,
fileName: "Test.xlsx"
});
});
</script>