Improvement request for better table breaks
When a table produces a break token in a given column, all the following columns are sent to the next page even those that still fit in the current page.
Example, a table like:
| ----------- | ----------- |
| Syntax | Description |
| ----------- | ----------- |
| Multi-line | Single cell |
| Cell | |
| ----------- | ----------- |
Should breaks:
Page 1 Page 2
| ----------- | ----------- | | ----------- | ----------- |
| Syntax | Description | | Cell | |
| ----------- | ----------- | | ----------- | ----------- |
| Multi-line | Single cell |
| ----------- | ----------- |
But produces:
Page 1 Page 2
| ----------- | ----------- | | ----------- | ----------- |
| Syntax | Description | | Cell | Single cell |
| ----------- | ----------- | | ----------- | ----------- |
| Multi-line | |
| ----------- | ----------- |
@julientaq @fchasen Maybe have you explored this ?
@eduarevalo a solution to this that we've used is to wrap each
This is good suggestion. Yes I noticed the same issue in my library https://github.com/tmasabari/AptTecReports
Hi there.
Please see https://github.com/pagedjs/pagedjs/pull/171, which I've just submitted for consideration. It includes a large rework of the pagination code that should help with this issue. I'd appreciate your feedback.
Regards,
Nigel