ajkush
ajkush

Reputation: 589

Start cell from same page, iText

I want to add two rows in my report header and comment.

    mainTable.addCell(headingCell);
    mainTable.addCell(commentCell);

Now when i am adding comment which have text more than total space on the page, it is starting comment from new page instead of starting from same page. from next page it is breaking text for each page but shifting from first page.

I want to start comment from first page and flow to next pages.

Upvotes: 1

Views: 262

Answers (1)

ajkush
ajkush

Reputation: 589

It is worrking now when i set mainTable.setSplitLate(false); after adding cells.

Upvotes: 1

Related Questions