Represents a table row in a WordprocessingML document.
A table row is a single row of cells within a table. Each row contains one or more table cells that hold the actual content.
Reference: http://officeopenxml.com/WPtableRow.php
<xsd:complexType name="CT_Row"> <xsd:sequence> <xsd:element name="tblPrEx" type="CT_TblPrEx" minOccurs="0" maxOccurs="1"/> <xsd:element name="trPr" type="CT_TrPr" minOccurs="0" maxOccurs="1"/> <xsd:group ref="EG_ContentCellContent" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="rsidRPr" type="ST_LongHexNumber"/> <xsd:attribute name="rsidR" type="ST_LongHexNumber"/> <xsd:attribute name="rsidDel" type="ST_LongHexNumber"/> <xsd:attribute name="rsidTr" type="ST_LongHexNumber"/></xsd:complexType> Copy
<xsd:complexType name="CT_Row"> <xsd:sequence> <xsd:element name="tblPrEx" type="CT_TblPrEx" minOccurs="0" maxOccurs="1"/> <xsd:element name="trPr" type="CT_TrPr" minOccurs="0" maxOccurs="1"/> <xsd:group ref="EG_ContentCellContent" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> <xsd:attribute name="rsidRPr" type="ST_LongHexNumber"/> <xsd:attribute name="rsidR" type="ST_LongHexNumber"/> <xsd:attribute name="rsidDel" type="ST_LongHexNumber"/> <xsd:attribute name="rsidTr" type="ST_LongHexNumber"/></xsd:complexType>
new TableRow({ children: [ new TableCell({ children: [new Paragraph("Cell 1")] }), new TableCell({ children: [new Paragraph("Cell 2")] }), ],}); Copy
new TableRow({ children: [ new TableCell({ children: [new Paragraph("Cell 1")] }), new TableCell({ children: [new Paragraph("Cell 2")] }), ],});
Do not use this method. It is only used internally by the library. It will be removed in a future version.
Represents a table row in a WordprocessingML document.
A table row is a single row of cells within a table. Each row contains one or more table cells that hold the actual content.
Reference: http://officeopenxml.com/WPtableRow.php
XSD Schema
Example