Can’t trigger child table _add or _remove events

According to this resource: Trigger Event On Deletion Of Grid Row

But this shows nothing

My js code is:
image

Stock Entry Doctype:

Stock Entry Detail Doctype:

When I press the Add New or Remove button in the table located in the Parent, a Child is added but nothing in the console. I deleted the cache and reloaded the page with the same result.

child_table_bug

I’ve the same problem, I wish if someone find the solution

bro the soultion is 

// Child table 
// This fun should be  inside the parent custom script
frappe.ui.form.on("Details",{
// items is the child field name 
items_add: function(frm){
console.log("OK");
},

items_remove: function(frm){
console.log("OK");
}

})
1 Like

good job, thanks a lot

1 Like