I have added the below line
after adding row to have the focus on new row, but the problem i am facing is, it is no doubt selecting the new row but it again goes to previos row immediately.
The sample is as below:
var newId = (new Date()).valueOf();
Please check example at the attachment.
sample_add.zip (78.8 KB)