RunColumnFileExportDialog (open)
Show a column file (eg CSV, XLSX) export dialog.
Syntax
LOADLIB "mod::tollium/lib/dialogs.whlib";
BOOLEAN FUNCTION RunColumnFileExportDialog(OBJECT parent, RECORD options)Parameters
OBJECT parentParent window
RECORD optionsOptions
RECORD ARRAY columnsColumn to export
STRING columns.nameColumn name
BOOLEAN columns.storeutcSet to TRUE if the column's value is in UTC
STRING columns.titleColumn title
STRING columns.typeColumn type
STRING exporttitleExport title (base for filename and frame title)
RECORD ARRAY rowsRows to export.
STRING timezoneTimezone to use for datetime fields
Return value
BOOLEANTrue if the download was completed or there was nothing to download
Description
If the list of rows empty, the dialog will report this and prevent downloading an empty file