Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lezram
Copy link

@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

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.

None yet

2 participants