Actually, I discovered that if i copied the columns as well as the dataprovider 
it works.  
Here's a little sample for future reference:


var printDG:PrintDataGrid = new PrintDataGrid();
printDG.dataprovider = onScreenDG.dataprovider;
printDG.columns = onScreenDG.columns;

Thanks for the reply!

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Are you using the same renderer for HTML in the DG as in the PDG?  If
> so, what does it look like?
> 
>  
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of jesse_bigfix
> Sent: Thursday, January 24, 2008 5:13 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Can PrintDataGrid render HTML?
> 
>  
> 
> I have a DataGrid where the contents of one of the columns is html
> links. Onscreen, I can 
> click the links in the grid and they work no problem.
> 
> When I create a PrintDataGrid with the same data provider, the printed
> output treats the 
> HTML as text so I can see the markup, e.g. instead of printing 'click
> here' it prints '<a 
> href="http://somesite/";>click here</a>'.
> 
> How can I make the PrintDataGrid display the link text instead of the
> underlying HTML?
>



Reply via email to