I have a report I need to print from a Flex Project I have written. The report needs to look like this:
Header ----------- text, more text .----------------------------. |Data Grid of Variable Height| |============================| | | | | |~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Possible Page Break .~~~~~~~~~~~~~~~~~~~~~~~~~~~~. | | | | |____________________________| Fixed height chart Lots more text End
I have spent about 16 hours trying to get this working. Every example I have found either has a PrintDataGrid a fixed height of 100% of its container, and then doing some really verbose code to span it to multiple pages. Has anyone gotten anything like this to work? I am considering just making a webservice that takes the data and spits it back in Html, but I would have to recreate the chart.
You can’t. Don’t even try and print in flex.