Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
Smily1979 #1
Incorrect output in PrintDataGrids
Hello Flex Community,
I have an exciting problem and hope anybody can help me. My application does
the following:
1. I have a panel with two DataGrids one below the other, which are filled
with more than 100 rows.
2. I want to print these DataGrids. I tried to do this - as decribed in the
LiveDocs - with PrintDataGRids.
3. I want that the first DataGrid is printed completely on multiple pages and
finally the second DataGrid.
My problem is that each printed page visualizes both PrintDataGrids with 10
items in each case. And that is done for the next 10 pages.
Question: How can I enforce that Flex prints at first the one DataGrid
completely on multiple pages and then the second one???
Gru? Greenhorn
Smily1979 Guest
-
#40037 [NEW]: Incorrect output from strtotime, when timestr is used with a relative term this
From: shruti224 at yahoo dot com Operating system: ES4 PHP version: 5.2.0 PHP Bug Type: Date/time related Bug description: ... -
#39830 [NEW]: Incorrect (float) variable output after using setlocale
From: ipa at beta dot lt Operating system: Linux 2.6.10 PHP version: 4.4.4 PHP Bug Type: Variables related Bug description: ... -
Newbie Using Arrays--Array Runs But Output is Incorrect
I'm trying to build a dynamic table with a 2D array. My array runs, but the output which should be 00 is 000000000. My goal is to output a table... -
#24433 [Com]: Incorrect version-output
ID: 24433 Comment by: kuraman10 at yahoo dot com Reported By: sandro dot mathys at blappy dot com Status: Bogus... -
#20382 [Com]: strtotime ("Monday", $date) can produce incorrect output
ID: 20382 Comment by: pierre dot baudracco at aliacom dot fr Reported By: nickj-phpbugs at nickj dot org Status: ... -
Mitek17 #2
Re: Incorrect output in PrintDataGrids
This is a major feature of Flex - inability to print.
You've bumped into the problem that assigning 100% height to the PDG gets you
into the described case.
FlashPLayer uses 2 passes to layout the elements. So, at the first pass you've
got 2 PDGs with 100% height and this thing drives FP nuts.
As a solution you have to manually calculate available height and set
PDG.height to that value, one PDG at a time.
In my project I am using N-pass technique to layout all elements correctly,
but still I can't overcome all the problems with mighty "Flex Printing Engine"
PS I am inclined to think that server-side printing solution is the way to
go.(like PDFLib)
Cheers,
Dmitri.
Mitek17 Guest



Reply With Quote

