How to determine a RowIndex of a new row after it was created using Editor's table.row.add({...}) method?
The row.add() docs show that it returns an API object for the row. You can store the return value in a variable, newRow for example, then retrieve the index: newRow.index()
row.add()
newRow
newRow.index()
Kevin
Kevin, Thank you. It is what I was looking for
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
The
row.add()
docs show that it returns an API object for the row. You can store the return value in a variable,newRow
for example, then retrieve the index:newRow.index()
Kevin
Kevin, Thank you. It is what I was looking for