No support for multi-page unbreakableBlocks
Author: SteffiPeTaffyCreated Feb 19, 2015Updated Sep 10, 2026
Labelsbugfeature requesttable
I saw the comment in pageElementWriter.js line 95: // no support for multi-page unbreakableBlocks Is there a reason why this is not supported? Any hints how we could fix this?
When I have a table with a lot of content in one or more rows and the dontBreakRows attribute is set to true; the rows will not get rendered at all. Example:
var dd = {
content: [
{ text: 'Table with a row that is higher than a single page' },
{ table: {
widths: ['*'],
dontBreakRows: true,
body: [
[{ stack:
[
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
{ text: 'Text'},
]
}]
]
}
}]
}Source: bpampuch/pdfmake