pdf.proxyTarget String
(default: "_self")
A name or keyword which indicates where to display the document that was returned by the proxy. To display the document in a new window or iframe, the proxy will set the Content-Disposition
header to inline; filename="<fileName.pdf>"
.
Example - opening the generated document in a new window
<div id="propertyGrid"></div>
<script>
$("#propertyGrid").kendoPropertyGrid({
columns: {
fieldColumn: { width: 200 },
valueColumn: { width: 250 }
},
model: {
foo: "bar",
baz: 5
},
toolbar: ["pdf"],
pdf: {
forceProxy: true,
proxyURL: "/save",
proxyTarget: "_blank"
},
});
</script>