Add Row to Table Dynamically Question

Hi

I have added the code to dynanically add a row to a table which is almost working fine.

In my table, when I click the + button to add a new row, the id in the first field of the first row is displayed
in a new blank row (issue-01 - show the problem)

How do I fix this?

Thanks.