I have a document and there is a table with headers in it and rows need to be added dynamically from the List
generating PDF through ASPOSE.Words
I need to add the rows dynamically to the existing table in the document
Please find the code as below:
I am getting the table and cloning the row.
But how do i add the values to the cells in the row.
Table firstTable = (Table)doc.getChild(NodeType.TABLE, 0, true); Row myRow = firstTable.getLastRow(); Row newRow = (Row)myRow.deepClone(true); firstTable.appendChild(newRow);
Please find the attached sample document for my project.
Please help me on this ASAP.
Thanks & Regards