OK, Here is an example :
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> <![CDATA[ [Bindable] public var myArray:Array = [{colA:'A',colB:'B'},{colA:'A1',colB:'B1'}]; ]]> </mx:Script> <mx:DataGrid id="myGrid" dataProvider="{myArray}" width="100%" height="50%" variableRowHeight="true" > <mx:columns> <mx:Array> <mx:DataGridColumn dataField="colA" headerText="Column A" width="70"/> <mx:DataGridColumn dataField="colB" headerText="Column B" width="50" wordWrap="true" > <mx:itemRenderer > <mx:Component > <mx:Label height="100" > <mx:htmlText> <![CDATA[This is <font color="#FF0000">HTML text</font> in a <b>Text component</b>. Using the <u>htmlText attribute</u> of the <font color="#008800">Text component</font> you can use basic HTML markup.]] > </mx:htmlText> </mx:Label> </mx:Component> </mx:itemRenderer> </mx:DataGridColumn> </mx:Array> </mx:columns> </mx:DataGrid> </mx:Application> --- In [email protected], "Oscar" <[EMAIL PROTECTED]> wrote: > > > I would create an ItemRenderer and use either a Label or a Text tag, > both have an htmlText property. No all the html tags are available > tough. > --- In [email protected], "envidobi" <envidobi@> wrote: > > > > Hi all, > > Anyone know how i could display HTML text in a datagrid column? > > Haven't seen any examples or tutorials on the subject. > > Thanks, > > David > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

