GetNext
function GetNext(): ApiTableRow | "null"
Description
Returns the next row if exists.
Returns
ApiTableRow | "null"
Try It
var oDocument = Api.GetDocument();
var oTableStyle = oDocument.CreateStyle("CustomTableStyle", "table");
oTableStyle.SetBasedOn(oDocument.GetStyle("Bordered"));
var oTable = Api.CreateTable(3, 3);
oTable.SetStyle(oTableStyle);
var oRow = oTable.GetRow(0);
oRow.GetCell(0).GetContent().GetElement(0).AddText("First row");
oRow.GetNext().GetCell(0).GetContent().GetElement(0).AddText("Second row");
oDocument.Push(oTable);