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 found some weird behavior when playing with table and colspan and rowspan
Here a example using the playground (0.2.14)
var dd = {
content: [
{
table: {
widths: [120, 120, 100, '*'],
body: [
// Table header
[{text:'Header a a a a a a a a a a a a a a a a a a ',rowSpan:2},
{text:'Header a a a a a a a a a a a a a a a a a a ',rowSpan:2},
{text:'TestVal2 a a a ',colSpan:2,rowSpan:1}, ''],
// Table rows
['', '', '', 'Value 4'],
[{text:'Header a a a a a a a a a a a a a a a a a a ',colSpan:2}, '', 'Value 3', 'Value 4'],
['Row 3', 'Sample value', 'Another sample', 'Another sample']
]
}
}
]
};
using Colspan:2 near TestVal2 make the display take two row, instead of one. It take effectively 2 columns. Why ?
How can i avoid this weird behavior, is it a bug ?
I have big templates in production that are broken because of this issue.
The text was updated successfully, but these errors were encountered:
Hello,
I found some weird behavior when playing with table and colspan and rowspan
Here a example using the playground (0.2.14)
using Colspan:2 near TestVal2 make the display take two row, instead of one. It take effectively 2 columns. Why ?
How can i avoid this weird behavior, is it a bug ?
I have big templates in production that are broken because of this issue.
The text was updated successfully, but these errors were encountered: