Library Vcl NextSuite 6 NextGrid6 Reference Classes TNxGridSerialization LoadFromCSV

LoadFromCSV

Load comma-separated-values data into the grid.

pas
procedure LoadFromCSV(const FileName: WideString);

Additional options can be used while loading. If the following options (flags) are included, the very first row of the file will be used for column captions and if there is a need for more columns to be added, they are automatically created.

Example

pas
NextGrid61.Serialize.Options := [soAddColumns, soSetHeaderCaptions];

Sign in