Re: Importing CSV files



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
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]