This sample shows how to export a FlexGrid having row groups to a PDF file using the export method. Read More
FlexGridPdfConverter provides export class method to export FlexGrid to a file.
The method takes the following arguments:
For example, the following code exports the FlexGrid to a file with name "FlexGrid.pdf" and declares that the document should have A4 page size:
wijmo.grid.pdf.FlexGridPdfConverter.export(grid, "FlexGrid.pdf", {
documentOptions: {
pageSettings: {
size: wijmo.pdf.PdfPageSize.A4
}
}
});
You can change the following export settings using the menus below:
In addition, the following export settings are configured when calling the export method in this sample: