pdfObject
Configures the Kendo UI Grid PDF export settings.
Example - configure PDF export settings
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
columns: [
{ field: "productName" },
{ field: "category" }
],
dataSource: [
{ productName: "Tea", category: "Beverages" },
{ productName: "Coffee", category: "Beverages" },
{ productName: "Ham", category: "Food" },
{ productName: "Bread", category: "Food" }
],
toolbar: ["pdf"],
pdf: {
fileName: "Products.pdf",
title: "Product List",
author: "Company Name",
allPages: true
}
});
</script>
In this article