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 parent
Parent window
RECORD options
Options
RECORD ARRAY columns
Column to export
STRING columns.name
Column name
BOOLEAN columns.storeutc
Set to TRUE if the column's value is in UTC
STRING columns.title
Column title
STRING columns.type
Column type
STRING exporttitle
Export title (base for filename and frame title)
RECORD ARRAY rows
Rows to export.
STRING timezone
Timezone to use for datetime fields
Return value
BOOLEAN
True 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