Table of Contents

TTMSFNCDataGridExcelIO.OnExportColumnFormat Event

Fired for each column during export to allow the application to supply a custom column width or format.

API unit family: TMSFNCDataGridExcelIO Declaring type: TTMSFNCDataGridExcelIO

Syntax

OnExportColumnFormat: TExportColumnFormatEvent;

Parameters

Name Description
Sender Excel IO component that fired the event.
DataGridCol Zero-based DataGrid column index.
DataGridRow Zero-based DataGrid row index.
XlsCol One-based worksheet column index.
XlsRow One-based worksheet row index.
Value Cell value being exported.
ExportCellAsString Set to True to export the value as text.