pdf.autoPrintBoolean
(default: false)
Specifies if the Print dialog should be opened immediately after loading the document.
Note: Some PDF Readers/Viewers will not allow opening the Print Preview by default, it might be necessary to configure the corresponding add-on or application.
Example
<div id="gantt"></div>
<script>
$("#gantt").kendoGantt({
dataSource: [
{ id: 1, title: "Task 1", start: new Date("2023/1/1"), end: new Date("2023/1/5") }
],
toolbar: ["pdf"],
pdf: {
autoPrint: true
}
});
</script>
In this article