Pdf.table

Hi,
i have a table inside Prawn file like

[email protected]_query.size
total=[""],[""]
pdf.table total,
:width => 768,
:headers => ["Grand Total : #{grandtotal} "],
:header_color => ‘e5e5e5’,
:border_style => :underline_header

there are other data above them. what happens is, when the grandtotal
prints on the last line of a page,(in some cases only), they are
printing it twice …like, on the last line on page 1 and first line of
page 2.
Is it any property of pdf.table to print it on the next line ALSO, if
there is not much space on the previous page?

please advice
~Jeff

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs