Re: Importing CSV files
- From: Murray Cumming <murrayc murrayc com>
- To: Armin Burgmeier <armin arbur net>
- Cc: glom-devel-list gnome org
- Subject: Re: Importing CSV files
- Date: Sat, 19 Apr 2008 17:08:15 +0200
On Sat, 2008-04-19 at 16:48 +0200, Armin Burgmeier wrote:
I'm starting to implement importing CSV files into glom tables. There is
a rough UI mockup at http://arbur.net/stuff/importcsv.png. Do people
think more/other options are required? Perhaps always the current table
should be used, so the "Import Into Table:" field can be removed.
I think it should show what table will be used, but it shouldn't be a
choice. It should just use the current table.
When the "First line as title" checkbutton is not checked, then the
treeview headers can simply be removed. The TreeView itself shows some
example rows and lets the user associate the fields in the CSV file to
fields in the Glom table. It's perhaps a bit more complicated to
implement than a vertical view, but I think it's more convenient this
way and so probably worth the effort.
It looks good. I guess you'd want the field choice at the top, or else
they would not be visible when viewing many example rows.
By the way "sample" rows is better than "example" rows.
I don't know how you'll manage to implement having a combo just on the
last row with TreeView.
Are there other comments/suggestions concerning the planned UI?
I also had a look at GdaDataModelImport, but it does not seem to support
progressive loading, which I think is necessary for importing big files
without blocking the UI and showing progress bars.
OK. But if it's easy and useful then think about
improving GdaDataModelImport. I've barely looked at it though.
murrayc murrayc com
] [Thread Prev