prawnpdf / prawn-table

Provides support for tables in Prawn
Other
205 stars 98 forks source link

Table borders for multi-page table? #117

Open strzibny opened 5 years ago

strzibny commented 5 years ago

Hello,

in previous versions I could achieve a table where rows didn't have any top and bottom borders, but the table itself had full borders on each page.

In the current version I changed how I build cell borders with:

cell_style: {
  borders: [:left, :right],
}

This works great, however, if the table is spanning more pages, only the very bottom table border is drawn and the bottom border is missing on first and middle pages (as shown on the screen).

tableend

How to ensure that the table has full borders on any page without putting bottom borders on each cell?