Search found 3 matches
- Fri Jul 16, 2021 2:45 am
- Forum: VCL / FMX
- Topic: TeeGrid/TStringsData missing LoadFromCSV ???
- Replies: 5
- Views: 35347
Re: TeeGrid/TStringsData missing LoadFromCSV ???
Jonsafi Why not use TStringsData instead of TStringList? I believe it does the OnGetCell for you automatically... you just need to read your CSV data into the TStringsData[Col,Row] as usual for stringgrids. Also because it is a "matrix" structure already, you can do various manipulation like missing...
- Thu Jul 15, 2021 7:46 am
- Forum: VCL / FMX
- Topic: TeeGrid/TStringsData missing LoadFromCSV ???
- Replies: 5
- Views: 35347
Re: TeeGrid/TStringsData missing LoadFromCSV ???
Thanks Jonsafi! I am switching to TeeGrid due to performance. I tried loading 284K lines and 35 columns dataset (standard credit card fraud dataset for machine learning). The performance is like 2 secs load for TeeGrid vs 10s of seconds for standard TStringGrid and others... I used the excellent CSV...
- Wed Jul 14, 2021 10:50 am
- Forum: VCL / FMX
- Topic: TeeGrid/TStringsData missing LoadFromCSV ???
- Replies: 5
- Views: 35347
TeeGrid/TStringsData missing LoadFromCSV ???
I am using TeeGrid, and TStringsData. I would like to read a CSV file. Is there a function or procedure in teeGrid or TStringsData that provides this? I have scanned through the documentation and source code and did not see any. Most commercial grids like TMS's TAdvStringGrid have a LoadFromCSV func...