How do I combine two separate grid tables in one PDF file and export them with one being on top of the other with some spacing between them? I'm trying to achieve this with GridPDFExport specifically.
1 Answer, 1 is accepted
0
Vessy
Telerik team
answered on 09 Dec 2024, 05:53 PM
Hello,
Combining two separate grid tables into one PDF file using GridPDFExport in KendoReact can be achieved through a workaround, as the current functionality does not natively support exporting multiple grids into a single PDF document directly. Here's how you can do it:
Steps to Combine Grids into a Single PDF:
Wrap Both Grids in a Single Component: Create a component that includes both grids, arranged vertically with the desired spacing between them.
Use a Single PDF Export Component: Enclose the combined component within a single PDFExport component. This allows both grids to be exported as a single PDF.