Value is not set inside the Child table

Refrsh event is working but form_render event is not working ? can you help me to find out

frappe.ui.form.on('Quotation', {
   
    refresh: function (frm) {
     
        frm.doc.items.forEach(function (row) {
          
            frappe.model.set_value(row.doctype, row.name, 'link_doctype', 'Task');
        });
    },

});

frappe.ui.form.on('Quotation Item', {
    form_render: function (frm, cdt, cdn) {
        console.log("Row is added ")
      
    }
});


No console output is show inside the console when i am adding the new row?

@shubham2025 Please check this documentation when child table row open then your function is work of form_render

1 Like

@Meet Can i used this ?

{fieldname}_on_form_rendered

Reference: Client Side Script Not Running After Submit - #5 by NCP