On change in delete with a table

I want to add a function when i delete a row in a table, but i don’t find the attributes about it

When i delete, the total weight puts in blank.

And I want to call a function when i put delete, i thought use on change function but I don’t know what is the doctype name and default attributes of tables in ERPNext.