Assigning an array of objects to a DataGrid?

Here is your answer edit - ok now discard my previous answer according to your data try this var a:Array = new Array(); var o:Object = {}; private function stringArrayToObjectArray():void{ o"id"="mauj"; var oj:Object=new Object(); oj"title"="aaa"; o"data"=oj; var oj1:Object=new Object(); oj1"id"="mauj2"; var oj2:Object=new Object(); oj2"title"="qqqq"; oj1"data"=oj2; a. Push(o); a. Push(oj1); } private function some_labelFunc(item:Object,th:Object):String { return item.data.

Title; } > try this sorry for such a bad code.

But the thing is I don't want to display it as a tree. I want to display it as a normal table. Only thing is, the data for the dataField is one object deeper than usual.

– trex279 Aug 24 '09 at 16:34 for removing tree type just remove erarchicalData and add your collection and for data can you provide a sample of your data – Rahul Garg Aug 24 '09 at 17:02 I have added a sample of my data. – trex279 Aug 24 '09 at 17:31 Thanks. Got it working.

– trex279 Aug 24 '09 at 19:05 hey welcome njoy – Rahul Garg Aug 24 '09 at 19:06.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions