This content has been marked as final. Show 4 replies
Break the problem into smaller parts.
Hard code your data into the app first, to make sure your DG is working.
Then get the remote data, making sure it is exactly the same format as your harcoded data.
Thanks for your reply.
My application works fine with datafrid only. But, we I try to use ArrayCollection, I got [object, Object] is the datagrid. Any further suggestion is appriciated.
In your remote object what is the data type being returned? I usually have to do something like this:
dg.dataProvider = event.result as ArrayCollection;
Hard code some data into an ArrayCollection, try to make that work first.