excelObject
Configures the Kendo UI Grid Excel export settings.
Example
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
columns: [
{ field: "productName" },
{ field: "category" },
{ field: "unitPrice" }
],
dataSource: [
{ productName: "Tea", category: "Beverages", unitPrice: 2.5 },
{ productName: "Coffee", category: "Beverages", unitPrice: 3.0 }
],
toolbar: ["excel"],
excel: {
fileName: "ProductData.xlsx",
allPages: true,
filterable: true
}
});
</script>
In this article