A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.dhtmlx.com/suite/grid/api/export/grid_pdf_method/ below:

JavaScript Grid - pdf Method


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 format

Related 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