Search found 9 matches
- Fri Jul 16, 2021 9:30 am
- Forum: VCL / FMX
- Topic: TeeGrid/TStringsData missing LoadFromCSV ???
- Replies: 5
- Views: 35036
Re: TeeGrid/TStringsData missing LoadFromCSV ???
Indeed Beowulf68, used something very similar to your code for displaying a smaller sized dataset, works very nicely :) However, to handle huge CSV-files (even hundreds of millions of rows), I believe the TVirtualModeData is the one to use. It does not pre-allocate the data to my understanding, but ...
- Thu Jul 15, 2021 1:35 pm
- Forum: VCL / FMX
- Topic: TeeGrid/TStringsData missing LoadFromCSV ???
- Replies: 5
- Views: 35036
Re: TeeGrid/TStringsData missing LoadFromCSV ???
Thanks for the CSV tip, Beowulf68! To read in a large CSV-file (so-called Harvard flight dataset, several GBs), and to display it on a grid based on TVirtualModeData, I first read the file into a memory structure (TStringList). Then at the OnGetCellData event, parsed the TStringList and assigned eac...
- Thu Jul 15, 2021 7:00 am
- Forum: VCL / FMX
- Topic: TeeGrid/TStringsData missing LoadFromCSV ???
- Replies: 5
- Views: 35036
Re: TeeGrid/TStringsData missing LoadFromCSV ???
Just to agree with beowulf68, the ability to quickly read-in large CSV-files
(with the ability to specify a separator other than comma too) would be really neat.
Was also a user of the grid you mention but switched to TeeGrid due to
the exorbitant pricing and other reasons. .
regards, Sami.
(with the ability to specify a separator other than comma too) would be really neat.
Was also a user of the grid you mention but switched to TeeGrid due to
the exorbitant pricing and other reasons. .
regards, Sami.
- Wed Jul 14, 2021 7:09 am
- Forum: VCL / FMX
- Topic: Regular (non-custom) sorting...
- Replies: 2
- Views: 25497
Re: Regular (non-custom) sorting...
Hello Marc,
Thanks for the help, so if there is some simple solution, would
be very grateful for any hints. Am using to
populate the data in the grid.
Regards, Sami
Thanks for the help, so if there is some simple solution, would
be very grateful for any hints. Am using
Code: Select all
GData_Full[acol,arow]
populate the data in the grid.
Regards, Sami
- Fri Jul 09, 2021 3:20 pm
- Forum: VCL / FMX
- Topic: Regular (non-custom) sorting...
- Replies: 2
- Views: 25497
Regular (non-custom) sorting...
Hello, I know that there is a full example on custom sorting, but understood that the simplest way for sorting w/o customization would be using Sortby as in the following: MyTeeGrid.Header.Sortable := True; MyTeeGrid.Data.Sortby(AColumn); // the following also does not sort (GData_Full is of type TS...
- Thu Dec 10, 2020 10:44 am
- Forum: VCL / FMX
- Topic: Filtering in Virtual mode
- Replies: 3
- Views: 28927
Re: Filtering in Virtual mode
OK, thanks a lot, hiding seems like a nice and quick solution.
May be in a future release filtering support will be available.
Take care,
Sami
May be in a future release filtering support will be available.
Take care,
Sami
- Tue Dec 01, 2020 3:01 pm
- Forum: VCL / FMX
- Topic: Filtering in Virtual mode
- Replies: 3
- Views: 28927
Filtering in Virtual mode
Hello, am using the nice TVirtualModeData and successfully use procedure GetCell(Sender:TObject; const AColumn:TColumn; const ARow:Integer; var AValue:String); to populate the data. Would like to add a filter to a certain column, so that the whole row gets hidden. So obviously, the following doesn't...
- Wed Jul 29, 2020 2:50 pm
- Forum: VCL / FMX
- Topic: Two question on visual aspect (Checkboxes and Sort arrow)...
- Replies: 3
- Views: 30322
Re: Two question on visual aspect (Checkboxes and Sort arrow)...
Hello, couldn't find an example for VLC on how to catch and process the user's choices... The example here uses the OnCellEdited event to catch the changes. Another question related to visual aspects came up with sorting. Since am using TVirtualModeData (which I presume is so fast because it gets t...
- Fri Jul 24, 2020 7:42 am
- Forum: VCL / FMX
- Topic: Two question on visual aspect (Checkboxes and Sort arrow)...
- Replies: 3
- Views: 30322
Two question on visual aspect (Checkboxes and Sort arrow)...
Hello, Am just getting the hang of the very versatile and impressive TeeGrid. Having checkboxes is a great addition; and as I understand, they are created as a separate column (not to be combined with an existing one). Was able to get the checkboxes to appear using: MyTeeGrid.Columns[MyColumn].Rende...