Hi,

Giles Roadnight wrote:
> Hi All
> 
> I am using a PrintDataGrid to display data on 1 or more pages. I have
> headers and footers that are removed on certain pages.
> 
> It all works fine except for reports where only 1 page is produced.
> Here I get all the data but only the top half of the last row is visible.
> 
> I can't see what is making this happen only in this case.
> 
> Any ideas?
> 
> Thanks Giles.

[snip]

Try commenting out the heading to see if you get the entire last row or not.

I'm thinkking you might need to subtract the height of the heading from 
the grid height otherwise it will(might) push the last bit of the grid 
off the page (I noticed that you have sizeToPage set to true and are 
setting printCanvas.height to printJob.height).


HTH.
  shaun

Reply via email to