Exporters
The DataGridExporter
interface is designed to export the DataGrid
content to a particular format and download it. An instance of DataGridExporter
is passed to the setDataGridExporter()
method of ExportAction.
DataGridExporter
has two standard implementations:
-
ExcelExporter
is used in the ExcelExportAction action. -
JsonExporter
is used in the JsonExportAction action.
You can create a custom exporter by extending a standard one or by implementing the DataGridExporter
interface from scratch, for example:
@Component
@Scope(BeanDefinition.SCOPE_PROTOTYPE)
public class CustomExporter implements DataGridExporter {
Was this page helpful?
Thank you for your feedback