grid.export.pdf();
grid.export.pdf({
format: "A4",
scale: 0.75,
displayHeaderFooter: true,
theme: "dark",
});
info
It is necessary to set sufficient margin for correct display of headerTemplate
/footerTemplate
.
info
If you use Grid in conjunction with Pagination, only the displayed page will be exported.
List of formatsâ Format Size "Letter" (8.5in x 11in) "Legal" (8.5in x 14in) "Tabloid" (11in x 17in) "Ledger" (17in x 11in) "A0" (33.1in x 46.8in) "A1" (23.4in x 33.1in) "A2" (16.54in x 23.4in) "A3" (11.7in x 16.54in) "A4" (default) (8.27in x 11.7in) "A5" (5.83in x 8.27in) "A6" (4.13in x 5.83in) false Paper formatRelated sample: Grid. Export to PDF/PNG
Related article: Exporting Grid
Related API: exportStyles
Change log:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4