Edit this page

sheets.name String

Sets the name of the exported workbook sheet.

Example - set the sheet name

<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" } ] }
            ]
        }
    ]
});
kendo.saveAs({
    dataURI: workbook.toDataURL(),
    fileName: "Test.xlsx"
});
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy