Yes what I going to do is...
if the Delete row function it's called I will reorder the index of every row on the dynamic table, I have a save button, so I'm going to use a input type hidden to read the value and sum before it will be sent to the dynamic table, let me take a look at your files, thank you man!.