Hello ya all,
just wondering is it possible to set height of specific row in table? Thanks.
Would love to know this too!
How did you end up doing it @tadija-lazarevic ?
@gregoralbrecht Well I didn't found solution so I left it as it is. Height has dynamic size so it was not big deal..
Good luck :)
Alright thanks! I got something now but it's really hacky...
Please add this feature as well. Being able to define row heights (or cell heights) would be a real plus.
And/or make it possible for a nested table to take all the available vertical space of a table cell.
Please consider the following example:
var dd = {
content: [
{ text: 'A simple table with nested elements', style: 'subheader' },
'It is of course possible to nest any other type of nodes available in pdfmake inside table cells',
{
style: 'tableExample',
table: {
headerRows: 1,
body: [
['Column 1', 'Column 2'],
[
{
table: {
body: [
[ 'Col1', 'Col2', 'Col3'],
[ '1', '2', '3'],
[ '4', '5', '6']
]
}
},
{
table: {
body: [
[ 'Col1', 'Col2', 'Col3'],
[ '1', '2', '3'],
[ '4', '5', '6'],
[ '7', '8', '9']
]
}
}
]
]
}
}
]
}
It would be nice if in the first column, the nested table took all the available space so that it's the same height as the nested table in the second column.
Will this be available soon, it seems a shame not to have something basic like this (or a workaround)
This is available (with at least basic functionality) in the forks above.
I really need this!
Does anyone know when it will be implemented?
thanks, great library though
+1
+1
still not implemented?
Feature implemented by commit https://github.com/bpampuch/pdfmake/commit/6577e79325f580f81c7b046cd068c8b78b1bf43a.
Great work! When can we expect this feature to be released ?
New version released.
Most helpful comment
Feature implemented by commit https://github.com/bpampuch/pdfmake/commit/6577e79325f580f81c7b046cd068c8b78b1bf43a.