Does anyone know much about using the PrintDataGrid class with
multiple pages beyond whats included in the flex livedocs.

I'm trying to print a graph with a table, and so need the chart at the
top of the first page, followed by the datagrid.

If the data is longer than one page then i need to flow it onto the
next page. This is working fine however when I hide the chart on the
second page, the datagrid doesnt resize to fill the whole page, but
keeps the same height as if the chart was there, just at the top of
the page. This means that if i have lots of data, i get lots of pages
all with small chunks of datagrid at the top.

I've tried calling invalidate() and validateNow() on both the chart
and the containing page, and turned off includeInLayout for the chart,
but this seems to make no difference. Am i missing something?

Thanks.

Phil






--
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/
 


Reply via email to