Skip to content

problem with importing csv files with different headers #4628

Open
@adaksuman

Description

@adaksuman

I am using the import feature of the ui-grid. the first time I import the csv file, every thing works fine. The headers of the csv file are made the headers of the ui-grid table.
But, when I try to import a different csv file with a different set of headers, I am not able to see any data in the grid.e.g First file "Name","Gender","Company" "John Smith","male","TestIcon" .I get a proper table in this case
Second file "First name","Last name","Country" "John","Doe","USA" Nothing is shown in this case.
I even tried re-assigning the columnDefs to an empty array before import but nothing seems to work.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions