I have a 2D array as follows:
Asia India Chennai TN Category1 Product1 100
Asia India Mumbai MH Category1 Product1 100
Asia India Calcutta CT Category1 Product1 100
Asia India Calcutta CT Category2 Product2 200
EMEA UK London LN Category3 Product1 123
EMEA UK London LN Category3 Product2 455
EMEA UK Reading RN Category1 Product1 500
EMEA UK Reading RN Category1 Product2 430
How can I convert the above 2D Array to Array collection so that I can access each data with individual attribute like the first column to indicate attribute as "continent",2nd column as "country" etc ., arrayCollection haveing the structure as {Continent:"Asia", Country:"India",...etc} and so on.How to achieve it dynamically.