Skip to main content
Table of Contents

TTMSFNCDataGrid.SaveToHTMLData Method

Exports the visible grid content as an HTML table to a file using the default encoding.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGrid Inherited from: TTMSFNCCustomDataGrid

Overloads

Overload 1

Exports the visible grid content as an HTML table to a file using the default encoding.

FMX.TMSFNCDataGrid.hppPascalC++
procedure SaveToHTMLData(AFileName: string); overload;
void __fastcall SaveToHTMLData(System::UnicodeString AFileName)/* overload */;

Parameters

Name Description
AFileName Full path of the output HTML file.

Overload 2

Exports the visible grid content as an HTML table to a file using the specified encoding.

FMX.TMSFNCDataGrid.hppPascalC++
procedure SaveToHTMLData(AFileName: string; AEncoding: TEncoding); overload;
void __fastcall SaveToHTMLData(System::UnicodeString AFileName, System::Sysutils::TEncoding* AEncoding)/* overload */;

Parameters

Name Description
AFileName Full path of the output HTML file.
AEncoding Text encoding for the output file.