kingyiren / flex-object-handles

Automatically exported from code.google.com/p/flex-object-handles
0 stars 0 forks source link

array collection #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
 [Bindable] private var dataArray:ArrayCollection = new ArrayCollection(
    [
    {id: '1' [{name: 'Bob Smith', city: 'Town1'},
              {name: 'Abid', city: 'hello'}]},

    {id: '2' [{name: 'Jon Doe', city: 'Town2'}]}
    ]
    );

Original issue reported on code.google.com by abidr...@gmail.com on 1 Sep 2009 at 6:12

GoogleCodeExporter commented 8 years ago
It seems problem is in array collection, Your collection is not well formed.
its should be like this

[Bindable] 
private var dataArray:ArrayCollection = new ArrayCollection
([
  {
    id: '1',description: [{name: 'Bob Smith', city: 'Town1'},               
               {name: 'Abid', city: 'hello'}]
  },
  {
    id: '2',description: [{name: 'Amit Bhardwaj', city: 'Jaipur'},      
                       {name: 'Amitb', city: 'Delhi'}]
  }
]);

Original comment by mail.Bha...@gmail.com on 1 Sep 2009 at 6:38

GoogleCodeExporter commented 8 years ago
I believe your question was answered.

Original comment by marc.hug...@gmail.com on 22 Dec 2009 at 3:49