You will have to fool around with creating a cell renderer for your DataGrid 
instance. Here is something useful that could help you:

http://chakramedia.com/blog/2007/11/13/htmltext-with-as3-datagrid/




--- On Mon, 12/22/08, Patricia Britt <jeals_...@yahoo.com> wrote:

> From: Patricia Britt <jeals_...@yahoo.com>
> Subject: [Flashcoders] cs3 datagrid allow html text from xml doc question
> To: flashcoders@chattyfig.figleaf.com
> Date: Monday, December 22, 2008, 4:34 AM
> I have an actionscript 3 based datagrid that pulls data from
> an xml document.  All of it is written in as3(no on stage
> component).  I like the as3 version verses the as2 version
> because of the filter arrays function(I need to allow
> multiple filters concurrently) but I am having difficulty
> finding a lot of examples for as3 datagrids. 
> I would like to click on a link to open a web browser. 
> That actually works.  The issue I am having is allowing
> html to render? in the grid.
> I tried using cdata but I get the entire html (though the
> link works)
> ie.
> <url><![CDATA[<a
> href="http://www.foo.com";>FOO</a>]]></url>
> renders in the datagrid as <a
> href="http://www.foo.com";>FOO</a>
> I tried looking through as3 documentation to figure out how
> to use html text in the grid/list but I couldn't find
> what I needed.
> Any help would be appreciated.
> patricia britt
> 
> 
> 
> 
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


      

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to