Skip to main content
Table of Contents

TExportColumnFormatEvent Event Type

Event type raised during export to decide whether one cell is written as literal text or converted to a typed value (number, date, time).

API unit family: TMSFNCDataGridExcelIO

Parameters

Name Description
Sender Grid renderer being exported (not the Excel IO component).
DataGridCol Zero-based grid column of the cell.
DataGridRow Zero-based grid row of the cell.
XlsCol One-based worksheet column the cell is written to.
XlsRow One-based worksheet row the cell is written to.
Value Cell text being exported.
ExportCellAsString Initialized to not Options.ExportCellFormats. Set to True to keep the value as text (for example codes with leading zeros), False to let the exporter convert it.