sheets.name String
Sets the name of the exported workbook sheet.
Example - setting the name of the sheet
<script>
var workbook = new kendo.ooxml.Workbook({
sheets: [
{
columns: [ { autoWidth: true } ],
name: "My custom sheet name",
rows: [
{ cells: [ { value: "short" } ] },
{ cells: [ { value: "longer text value" } ] }
]
}
]
});
workbook.toDataURLAsync().then(function(dataURL) {
kendo.saveAs({
dataURI: dataURL,
fileName: "Test.xlsx"
});
});
</script>