Skip to content

Latest commit

 

History

History
 
 

tables

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

PDF Tables

The example explains how to create tables in your PDF reports. The examples vary from the creation of simple tables to how to create complex tables that include sub-tables and headers. The pdf_tables_header_images.go mentions how to add headers, alongside, the example also includes the code for including images in the tables.

Examples

  • pdf_tables_simple.go The example showcases how you can use the power of the model package to create a simple table.
  • pdf_tables_styling.go The example highlights how you can style your tables. UniPDF allows you to customize everything from the background-color to the font-size and color of the text inside the tables.
  • pdf_tables_colSpan.go The example showcases how to generate columns in tables that are longer than one column.
  • pdf_tables_header_images.go The example highlights how you can include headers in your tables. The header persists along pages for tables that are longer than one page. The example also discusses how to add images in tables.
  • pdf_tables_subtables.go The example showcases how you can create a table that has sub-tables inside of it. This feature will allow you produce complex tables that suit your needs.
  • pdf_tables_row_wrap.go The example showcases row wrapping across pages in creator tables.
  • pdf_tables_division_layout.go This example showcases a masonry-like layout created using tables and divisions.