pdf.forceProxyBoolean
(default: false)
If set to true, the content will be forwarded to proxyURL even if the browser supports saving files locally.
Example - force proxy usage for PDF export
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
columns: [
{ field: "productName" },
{ field: "category" }
],
dataSource: [
{ productName: "Tea", category: "Beverages" },
{ productName: "Coffee", category: "Beverages" }
],
toolbar: ["pdf"],
pdf: {
forceProxy: true,
proxyURL: "/proxy/pdf",
fileName: "Products.pdf"
}
});
</script>
In this article