Thanks, Well, I tried extending AdvancedDataGridItemRenderer & IDropInListItemRenderer
and my set data I'm overriding: override public function set data(value:Object):void { super.data = value; if (this.listData) { // get the owner AdvnacedDataGrid var listOwner:AdvancedDataGrid = AdvancedDataGrid(this.listData.owner); if (listData!=null && data != null) { this.background = true; this.backgroundColor = 0xFFB6B6; } } } As you can see for the example its just should paint the rows. But still the data is flat I cannot see child1 as the parent :((( can you give me simple example how should set data() should look like to allow me manipulation on the data but still preserve the hierarchy? I tried many things but nothing Thanks --- In flexcoders@yahoogroups.com, "Gregor Kiddie" <gkid...@...> wrote: > > You are losing the indentation and icon because the item renderer > handles all that for you. > > Either extend the AdvancedDataGridItemRenderer > (http://livedocs.adobe.com/flex/3/langref/mx/controls/advancedDataGridCl > asses/AdvancedDataGridGroupItemRenderer.html ) and include what you > need, or see if the renderer provider can give you any help > (http://livedocs.adobe.com/flex/3/langref/mx/controls/advancedDataGridCl > asses/AdvancedDataGridRendererProvider.html ). > > If neither of these do, you will have to implement the indentation and > icon stuff yourself. > > > > Gk. > > Gregor Kiddie > Senior Developer > INPS > > Tel: 01382 564343 > > Registered address: The Bread Factory, 1a Broughton Street, London SW8 > 3QJ > > Registered Number: 1788577 > > Registered in the UK > > Visit our Internet Web site at www.inps.co.uk > <blocked::http://www.inps.co.uk/> > > The information in this internet email is confidential and is intended > solely for the addressee. Access, copying or re-use of information in it > by anyone else is not authorised. Any views or opinions presented are > solely those of the author and do not necessarily represent those of > INPS or any of its affiliates. If you are not the intended recipient > please contact is.helpd...@... > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of yossi.baram > Sent: 23 March 2009 08:58 > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Using ItemRenderer with IHierarchicalData > DataProvider > > > > No, > Lets say I have parent1 and he has a child1 which is a parent also, > when I click on parent1 I should see the child1 as a parent(with icon) > to allow me drill deeper but now I see child1 as text, > The hierarchy: > parent1 > | > child1 > | > child-child text > > please advise if Im not understud > > Thanks for your help man > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > , Wesley Acheson <wesley.acheson@> wrote: > > > > Sorry I'm not really understanding. Are you saing that you want all > > children nodes automatically expanded?- > > > > On Mon, Mar 23, 2009 at 8:55 AM, yossi.baram <yossi.baram@> wrote: > > > > > Guys, > > > There mast be somebody knows how to preserve hierarchy and to allow > the > > > TreeGrid to look the same with parents and childrens, > > > using the ItemRenderer.... > > > > > > Sorry for the resending the question. I realy need > > > a clue here, > > > > > > Thanks > > > --- In flexcoders@yahoogroups.com > <mailto:flexcoders%40yahoogroups.com> , "yossi.baram" <yossi.baram@> > wrote: > > > > > > > > Hi, > > > > My problem is simple, > > > > In my TreeTable The ItemRenderer show me only one level. > > > > When I click the parent it will show only the level beneath it, > > > > although it has childrens, WHY??? > > > > When I use depth, I can see the tree but it doesnt activate the > > > ItemRenderer. > > > > How can I set the Itemrenderer to manipulate and show ALL > branches? > > > > > > > > Please advice guys, I have been looking every where but couldnt > find a > > > solution. > > > > > > > > Thanks in advance > > > > > > > > > > > > > > > > --- In flexcoders@yahoogroups.com > <mailto:flexcoders%40yahoogroups.com> , "yossi.baram" <yossi.baram@> > wrote: > > > > > > > > > > Hi, > > > > > There is a greate example in the following link that allows us > to > > > create simple hirarchical grid with AdvancedDataGrid, implementing > > > IHierarchicalData. > > > > > > > > > > > > > > http://inovativeflexdevolopment.blogspot.com/2008/07/flex3-dynamic-popul > ation-of-data-in.html > <http://inovativeflexdevolopment.blogspot.com/2008/07/flex3-dynamic-popu > lation-of-data-in.html> > > > > > > > > > > I couldnt find a way to include ItemRenderer using this kind of > > > dataProvider, > > > > > I tried everything but all I get when using a simple > ItemRenderer is a > > > flat tree with no hirarchy :( > > > > > > > > > > Please please advice > > > > > > > > > > Thanks > > > > > > > > > > Jo > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------ > > > > > > -- > > > Flexcoders Mailing List > > > FAQ: > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> > > > Alternative FAQ location: > > > > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf- > 1e62079f6847 > <https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf > -1e62079f6847> > > > Search Archives: > > > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo > <http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo> ! Groups > > > Links > > > > > > > > > > > > > > >