JVCL Help:TJvStringGrid.LoadFromCSV

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Reads the comma separated file specified in FileName and loads the data into the string grid.


Pascal

 procedureLoadFromCSV(constFileName: string; Separator: Char = ';'; QuoteChar: Char = '"'; StripQuotes: Boolean = True);


Parameters

Parameters Description
const FileName: string Name of a CSV file from which to read the string grid.
Separator: Char = ';' Character used in the CSV file to separate cell strings.
QuoteChar: Char = '"' Specifies the quote char.
StripQuotes: Boolean = True Description for this parameter


Description

Use the LoadFromCSV method to retrieve a string grid from a comma separated file. LoadFromCSV can read files that list the cell strings - separated with the character specified by Separator - one row per line.


See Also

TJvStringGrid.LoadFromFile, TJvStringGrid.LoadFromStream, TJvStringGrid.OnLoadProgress, TJvStringGrid.SaveToCSV


About

Notes

String grid files contain only the text of the string grid cells. They do not contain any data associated with a cell.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page