TabExporter
Overview
The TabExporter
plugin enables exporting data from a Servoy FoundSet
into text-based formats such as CSV or tab-separated files. This is useful for generating reports or sharing data with external systems.
The addDataProvider
method allows specifying the data providers (columns) from the FoundSet
to include in the export. Each column can be customized with attributes such as header text, value lists, or date formats, providing flexibility in how data is represented.
The textExport
method generates the export as a text string based on the defined configuration. This string can then be saved to a file or used directly for sharing or further processing.
Methods Summarized
Add a dataprovider from specified foundset to export.
Methods Detailed
addDataProvider(dataprovider)
Add a dataprovider from specified foundset to export.
Parameters
String dataprovider The dataprovider string to add as a column to export
Returns: DataProviderExport dataprovider export object
Sample
textExport()
Export to text 'separated value' data (*.tab/*.csv), based on values set on exporter
Returns: String exported text
Sample
Last updated