You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking for suggestions on styling table header.
Currently I am using HexaPDF::Document::Layout#table with arguments header and cell_style. For header I am passing a simple lambda that returns array containing a single array of strings that represent my table headers. Styling is done inside lambda that is a value for cell_style argument: it tests lambdas cell and applies header styling when cell.row == 0 However, this leads to header styling being also applied to 1st row of table data.
The text was updated successfully, but these errors were encountered:
Hi,
I am looking for suggestions on styling table header.
Currently I am using
HexaPDF::Document::Layout#table
with argumentsheader
andcell_style
. Forheader
I am passing a simple lambda that returns array containing a single array of strings that represent my table headers. Styling is done inside lambda that is a value forcell_style
argument: it tests lambdascell
and applies header styling whencell.row == 0
However, this leads to header styling being also applied to 1st row of table data.The text was updated successfully, but these errors were encountered: