developerx
2011-02-21T16:13:37Z
Hi,

First of all the samples provided with Igrid are great, some very detailed etc.
But i miss one particular very simple example for opening .csv files into igrid.

i have some routines i wrote but these are mainly for listbox etc.

Is there a easy way to load .csv into Igrid using vb6

Regards
DeveloperX
Igor/10Tec
2011-02-22T08:29:21Z
We always try to keep the size of the iGrid OCX as small as possible (and not to bloat the control with many features), and that's why iGrid does not have a built-in method to upload data from files of different formats.

However, we provide our users with many source code samples for such typical tasks, and that's true for this case as well.

The first sample from the iGrid main demo, My Customers, loads the data from a comma-separated values file. The data are stored in the file CustList.txt - you can look inside it. MyCust.frm contains the source code you can take and use in your apps to read/write CSV files.
developerx
2011-02-22T13:50:01Z
Hi Igor,

Thanks for fast reply.
I use a CSV component to read files so i managed to figure out yesterday how to use it with iGrid.
I do open CSV in memory first and the populate from CSV cells into
iGrid cells, the logic is to create empty rows and cells first and the fill from memory.
I need to some more examples regarding csv so that is great that there is one i check the example.


Regards
Developerx