'Kendo UI export pdf , two groups in single page?
I am trying to export two groups on single page. One group is taking whole page and another is staring from another page. how can i start another group on same page .
Code:
this.grid.drawPDF()
.then(async (grid: Group) => {
const content: Group = new Group({
pdf: {
multiPage: true,
}
});
//
const pageOne: Group = new Group({
pdf: {
landscape: true,
margin: '1cm',
paperSize: 'A4',
}
});
content.append(pageOne);
content.append(...grid.children);
// add grid
//content.append();
return exportPDF(content, {
paperSize: 'A4',
landscape: true
});
even if i cannot take two group on one single pdf is there any way i can add a paragraph before another group??
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
