Hi,

i am working in Flex. i need to include Dynamic Value to array so that i can
bind to datagrid but i cant able to do.Here is my code.

         1) params is  array,
        2) params1  is Array
        3) DGArray is Array

 for(z=0; z < params.length; z++)
                {
                params1=params[z].toString().split(",");


               DGArray[z]=[{Artist:params1[0].toString(),
Album:params1[1].toString(), Price:params1[2].toString()}];
                }


If i use this way i am getting error. If i am use this way i am getting last
value.

 for(z=0; z < params.length; z++)
                {
                params1=params[z].toString().split(",");


               DGArray=[{Artist:params1[0].toString(),
Album:params1[1].toString(), Price:params1[2].toString()}];

            }

pls Help.Thanks in Advance.

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to