Reputation: 11012
I have Kendo UI Grid with paging chunks of 5 -
$("#grid").kendoGrid({
pdf: {
allPages: true
},
pageable: true,
dataSource: {
type: "odata",
pageSize: 5,
data: [...]
}
})
And an export to PDF of this Grid -
var grid = $("#grid").data("kendoGrid");
var progress = $.Deferred();
grid._drawPDF(progress)
Currently the export create the PDF with all the Grid content but with chunks of 5 ,
how could I export to the PDF with all the content without the chunks ?
(Note - I only want to change the export view not the view on the DOM )
Upvotes: 2
Views: 1747
Reputation: 1408
It borrow pageSize property from grid. You need to change that to number of records which you would like to have on one page.
Upvotes: 1