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

Table row setCantSplit won't split even when row is larger than a page #402

Open
jamesmontalvo3 opened this issue Sep 18, 2019 · 1 comment

Comments

@jamesmontalvo3
Copy link
Contributor

If I do the following:

table = new docx.Table({2,2});
table.getRow(0).setTableHeader();
table.getRow(1).setCantSplit();

Then I add a lot of lines to the second (non-header) row, the cell expands larger than a single page but does not split between two. I realize the function is called "can't split", but it seems like it should split when it's the only row on the page. See example below. First image is the one header row on one page. Second image is the overflowing cell on the following page.

image

image

@MMMehrabi
Copy link

Had the same issue.

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

No branches or pull requests

2 participants