excel.fileName String
(default: "Export.xslx")
Specifies the file name of the exported Excel file.
Example - set the default Excel file name
<div id="pivotgrid"></div>
<script>
$("#pivotgrid").kendoPivotGridV2({
excel: {
fileName: "InternetSalesAmount.xlsx"
},
height: 550,
dataSource: {
type: "xmla",
columns: [{ name: "[Date].[Calendar]", expand: true }, { name: "[Geography].[City]" } ],
rows: [{ name: "[Product].[Product]" }],
measures: ["[Measures].[Internet Sales Amount]"],
transport: {
connection: {
catalog: "Adventure Works DW 2008R2",
cube: "Adventure Works"
},
read: {
url: "https://demos.telerik.com/olap/msmdpump.dll",
dataType: "text",
contentType: "text/xml",
type: "POST"
}
},
schema: {
type: "xmla"
}
}
});
</script>