How can we fetch the values from the previous row in child table?

We have the option of copy the values from the first row like…

frm.script_manager.copy_from_first_row(“items”, row, [“item_code”,“item_name”,…])…

But I want to copy the value from the previous row. is there any option to copy from the previous row…?

No such method available. Can you explain what you are trying to do?

I just want to replicate the values from the previous row only. Not from the first row.

Were you able to do this?

On click of ‘Insert Below’,I want to copy few fields from the previous row to the new row.

TIA
Krithi