Thanks for sharing the detail. Please note that a table in MS Word is a set of independent rows. Each row has a set
of cells independent on cells of other rows. So there is no logical
“column” in a MS Word’s table. “The 1st column” is something like “a set
of the 1st cells of each row in a table”.
For example, it’s possible to have a table where the 1st row consists
of two cells: 2cm and 1cm and the 2nd row consists of different two
cells: 1cm and 2cm of width.
However, you can work with columns using the approach shared at following documentation link.[
Please use the following code example to insert row at the end of table and insert a text input form field. Please let us know if you have any more queries.
var doc = new Document(MyDir + "in.docx");
DocumentBuilder builder = new DocumentBuilder(doc);
// Get the first table in the document
Table table = doc.FirstSection.Body.Tables;
// insert empty row at the end of table
Row lastrow = (Row)table.LastRow.Clone(true);
foreach (Cell cell in lastrow.Cells)
builder.InsertTextInput("TextInput", TextFormFieldType.Regular, "", "Hello", 0);
doc.Save(MyDir + "Out.docx");