Hi, What control should I set the rowHeight on ? Label and ADG dont have a rowHeight property. In the below example, the title does come out in bold, but the image which I copied to the bin and src code dir doesnt show up.
Here is the code that updates the Label used in the ADG row from my 'SectionRenderer.mxml': <?xml version="1.0" encoding="utf-8"?> <mx:Label xmlns:mx="http://www.adobe.com/2006/mxml" paddingLeft="45" selectable="true" includeInLayout="true" enabled="true" > <mx:Script> <![CDATA[ override public function set data(value:Object):void { super.data = value; this.htmlText = "<img src='xicon.gif' ><b>"+ [EMAIL PROTECTED]"</b> "+ value["@username"]; } ]]> </mx:Script> </mx:Label> ---------------------------------------------------------- Here is part of the main app MXXML code: ... <mx:AdvancedDataGridColumn headerText="" dataField="@title" /> </mx:columns> <mx:rendererProviders> <mx:AdvancedDataGridRendererProvider columnIndex="0" renderer="SectionRenderer" depth="2" columnSpan="0" /> </mx:rendererProviders> </mx:AdvancedDataGrid> </mx:Application> --- In [email protected], "sameerbhatt13" <[EMAIL PROTECTED]> wrote: > > Hi, > > Try setting the 'rowHeight' property. > > And can you send the exact code you are using so that we can debug > it. > > Thanks, > Sameer > > --- In [email protected], "dan_of_philly" > <ariesonthecusp@> wrote: > > > > Hi, > > > > I have an AdvancedDataGrid that I'm using an > > AdvancedDataGridRendererProvider with. When the overridden data() > > method gets called on the mx:Label, I can update the text just > fine in > > each row using htmlText with bold html tags , but if I try to use > the > > img tag with the source set to the current computer (e.g.: > > C:\bird.gif), no image shows up. All the other HTML tags > referenced in > > LiveDocs works other than the img one. > > > > Does anyone know if Flex disables images with a Label when used > within > > a ADG renderer ? > > > > -- Dan > > >
