Flying Saucer: Tables Support

Previous Page

Next Page

Flying Saucer XML/CSS2 Renderer

Tables Support |
thead! | tfoot!
tbody! |
th, tr, td! | alignment | collapse!
colspan!
styles!
Tables support includes: | Tables support is pretty complete at this point. We support all the table-related XHTML tags, including table, caption, tbody, thead, tfoot, th, tr and td tags. Table elements can have styles attached to them--in this demo, to show an alternating row highlight color. In-cell alignment works, as do borders and border-collapse. Colspan, rowspan, cellpadding and cellspacing attributes are supported. Table and column widths can be set to a specific or proportional (em, %) value. Also included: complex nested table layouts, auto layout, floated tables, and vertical alignment within cells.

# A Sample Report

## assembled by Ali Enn

3rd Qtr Financial Results
Department | Gross Sales | Expenses | Net Profit
--- | --- | --- | ---
1,000,000.00
Pets | 12345.00 | 1020.00 | 9000.00
12345.00 | 1020.00 | 9000.00
12345.00 | 1020.00 | 9000.00
12345.00 | 1020.00 | 9000.00
12345.00 | 1020.00 | 9000.00
12345.00 | 1020.00 | 9000.00
Gardening | 12345.00 | 1020.00 | 9000.00
12345.00 | 1020.00 | 9000.00
12345.00 | 1020.00 | 9000.00
12345.00 | 1020.00 | 9000.00
12345.00 | 1020.00 | 9000.00
12345.00 | 1020.00 | 9000.00