Brad, thanks!
One step forward and a new related problem.
Simple form of colspan works with the git version..
However, rendering aborts if colspan used in combination with other
table options.
Here are the details:
colspan_data = [
["A", {:content => "2x1", :colspan => 2}, "B"],
[{:content => "1x2", :rowspan => 2}, "C", "D", "E"],
[{:content => "2x2", :colspan => 2, :rowspan => 2}, "F"],
["G", "H"]
]
no_span_data = [
["A", {:content => "2x1"}, "B", "b2"],
[{:content => "1x2"}, "C", "D", "E"],
[{:content => "2x2"}, "F", "f2", "f3"],
["G", "H", "h2","h3"]
]
pdf.table no_span_data
pdf.table colspan_data
Both work fine.
pdf.table no_span_data, :width => 510
pdf.table colspan_data, :width => 510
Both work fine.
pdf.table no_span_data, :column_widths => [130, 90, 160, 130]
works fine
pdf.table colspan_data, :column_widths => [130, 90, 160, 130]
Aborts with error message:
Table's width was set too small to contain its contents (min width
545.0, requested 540.0)
Thanks
Alexei