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 )
It borrow pageSize property from grid. You need to change that to number of records which you would like to have on one page.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.