How to determine a RowIndex of the newly created row?

How to determine a RowIndex of the newly created row?

nkiyatkinnkiyatkin Posts: 5Questions: 2Answers: 0

How to determine a RowIndex of a new row after it was created using Editor's table.row.add({...}) method?

Answers

  • kthorngrenkthorngren Posts: 21,324Questions: 26Answers: 4,949

    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

  • nkiyatkinnkiyatkin Posts: 5Questions: 2Answers: 0

    Kevin, Thank you. It is what I was looking for

This discussion has been closed.