I'm using DatasListView
from OLV
, and I want to export my data to csv.
They said to use olvexporter
, but I can not find an example of it.
Can anyone explain how to use OlvExporter
to me?
I'm using DatasListView
from OLV
, and I want to export my data to csv.
They said to use olvexporter
, but I can not find an example of it.
Can anyone explain how to use OlvExporter
to me?
You can try this:
The second parameter at the OLVExporter is only necessary if you want to enable Filtering at your objectListView. It it's set you are only exporting the results after the filtering.
If you choose CSV as ExportFormat you can use the csv.Replace() to change the output at the csv file.
The SaveFileDialog is also not necessary.