I even took the example code from the component explorer and changed it so it
populated with a large text block by editing the printButton.mxml page with
this:
(line 37)
dgProvider.addItem("test text that is really long and descriptive" + prodTotal);
Then changing the PrintDataGrid on FormPrintView.mxml to this:
(line 49)
<mx:PrintDataGrid id="myDataGrid" width="25%" height="100%"
variableRowHeight="true" wordWrap="true"
I get this result:
http://careyweb.com/ComponeViewrCode.pdf
It is like the programming is not calculating the grid height correctly or
something.
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Chad
Gray
Sent: Monday, April 21, 2008 1:14 PM
To: [email protected]
Subject: [flexcoders] PrintDataGrid and wordWrap
I am trying to get the PrintDataGrid to word wrap. When I print I get really
strange results. It tends to chop off the last row. If I print to paper
(instead of my PDF driver) I get two pages and the first page only has like 5
rows on it.
<mx:PrintDataGrid id="myDataGrid" width="90%" variableRowHeight="true"
wordWrap="true">
http://careyweb.com/flash.pdf
Any way to fix this?
Chad
------------------------------------
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo!
Groups Links