We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Repeating first row on page break

Hi there!

Is there any way to stop the “repeating of the first row (table header) on each page break” behavior?

Thank you!
Hi Doug,

Thanks for your inquiry. Please iterate through all rows of table and set the value of RowFormat.HeadingFormat property as false to stop repeating table's header on each page.

Document doc = new Document(MyDir + "in.docx");

Table table = (Table)doc.getChild(NodeType.TABLE, 0, true);

for (Row row : table.getRows())




doc.save(getMyDir() + "out.docx");

Please let us know if you have any more queries.