pdf.allPages Boolean (default: false)

Exports all grid pages, starting from the first one.

Note: 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 will enable compression in PDF, e.g.: <script src="https://unpkg.com/pako/dist/pako_deflate.min.js"></script> The allPages export is not supported when virtual scrolling is enabled.

Example - export all pages

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  toolbar: ["pdf"],
  columns: [
    { field: "name" }
  ],
  dataSource: {
    data: [{ name: "Jane Doe"},
           { name: "John Doe"},
           { name: "Tim Doe"},
           { name: "Alice Doe"}],
    pageSize: 2
  },
  pdf: {
    allPages: true
  }
});
var grid = $("#grid").data("kendoGrid");
grid.saveAsPDF();
</script>
In this article