January 2013
Intermediate to advanced
328 pages
7h 14m
English
The dataExporter component allows exporting the content of the table into various formats such as XLS/XLSX, PDF, CSV, and XML. It also supports exporting the current data on a page and also only the selected data on the table by providing the ability to exclude particular columns and manipulating the exported data with pre and post processors.
A basic definition for having data-exporting ability with a command link that encapsulates a PDF icon would be as follows:
<h:commandLink> <p:graphicImage value="/resources/images/export/pdf.png" /> <p:dataExporter type="pdf" target="countriesTable" fileName="countries" /> </h:commandLink>
In the previous definition, target defines the server-side ...
Read now
Unlock full access