Skip to content

feat(table): add customizable table page break handler#2151

Closed
lezram wants to merge 2 commits into
bpampuch:masterfrom
lezram:table_page_break
Closed

feat(table): add customizable table page break handler#2151
lezram wants to merge 2 commits into
bpampuch:masterfrom
lezram:table_page_break

Conversation

@lezram
Copy link
Copy Markdown

@lezram lezram commented Dec 12, 2020

I build an extension functionality for table page breaks.
My use case was to add a row before the page break and one after the page break.
Detected that it is similar to an already existing #1205
Maybe this is useful for others too.

  • add custom onPageBreak event handler for table page breaks
    • listen on pageChanged event and call custom handler
    • as per existing table page break (pageChanged) implementation
      • if dontBreakRows: true is set the event is only called once
      • if it's not set there will be an event for each cell

@lezram lezram closed this Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants