pdfObject
Configures the PDF export settings of the PropertyGrid.
Chrome is known to crash when generating very large PDF-s. A solution to this is to include the Pako library. Simply loading this library with a
<script>
tag enables compression in the PDF, e.g.:
<script src="https://unpkg.com/pako/dist/pako_deflate.min.js"></script>
Example
<div id="propertyGrid"></div>
<script>
$("#propertyGrid").kendoPropertyGrid({
pdf: {
fileName: "PropertyGrid.pdf",
author: "Kendo UI Team",
autoPrint: true,
margin: { top: 20, left: 20, right: 20, bottom: 20 }
},
model: {
foo: "bar",
baz: 5
}
});
</script>
In this article