Closed jessedoyle closed 9 years ago
This patch adds the ability to supply table_icon with inline_format: true to allow for multiple icons within a single table cell.
table_icon
inline_format: true
Example:
data = [ [pdf.table_icon('<icon>fa-user</icon> Hello, World! <icon>fa-cloud</icon>', inline_format: true), '2'], ['3', '4'] ] pdf.table(data)
If finer-grained icon placement is necessary than what is capable with inline formatting, then it is recommended to use Prawn::Table's colspan or subtable functionality.
Prawn::Table
colspan
subtable
Works like a champ! THANKS!!
This patch adds the ability to supply
table_icon
withinline_format: true
to allow for multiple icons within a single table cell.Example:
If finer-grained icon placement is necessary than what is capable with inline formatting, then it is recommended to use
Prawn::Table
'scolspan
orsubtable
functionality.