date Date
The date when the workbook is created. Defaults to new Date()
.
Example - setting the date
<script>
var workbook = new kendo.ooxml.Workbook({
date: new Date(2014, 5, 18)
sheets: [
{
rows: [
{ cells: [ { value: "foo" } ] }
]
}
]
});
kendo.saveAs({
dataURI: workbook.toDataURL(),
fileName: "Test.xlsx"
});
</script>