Develop a UI that generates a PDF report

Generate a PDF report with a custom header and footer that contains information from a data grid.

Figure 1. Application example
Figure 2. PDF report example.

You can download the report from: Report.pdf

Note: Download a sample project: PDFReportWithDataGrid.zip

Prerequisites

Create a project.

To develop the project
  1. Create Motor objects.
  2. Create a data grid.
  3. Create a report object.
  4. Configure the report header.
  5. Configure the report sections.
  6. Configure the report footer.
  7. Create a button that generates the report.
  8. Arrange the interface elements.
  9. Save the project.
Figure 3. Application design
Figure 4. Report design

Select Run to run the project using the client emulator to test your project. To run the project on a remote client, see Add a client device.