On Tue, Jan 29, 2013 at 8:57 AM, Brian Jensen <
bria...@gmail.com> wrote:
> pdf.table(data, :cell_style => {:border_width => 0.1, borders: [:left,
> :right ], :inline_format => true, padding: 5 } ) do |t|
> t.before_rendering_page do |page|
> page.row(0).border_top_width = 3
> page.row(-1).border_bottom_width = 3
> page.column(0).border_left_width = 3
> page.column(-1).border_right_width = 3
> end
> end
(snip)
> With the latest code from github, no border bottom on the current page.
The problem is that borders: [:left, :right] applies to all cells, so
even though you're setting a width of the bottom borders, they are not
being drawn. Cell borders must have both a width and a corresponding
entry in :borders to be drawn.
-be