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