How can we Add Button in child table field, and make it clickable & redirect to other doc?

1 Like
3 Likes

please selct the “In List View” check box for the chield field

and also click the “configure columns” gear button and add the button column

The button only appear, once the row gets selected

Thank you for the response.
But that’s not exactly i mean, I need some function on it. On btn i need to make it clickable and redirect to other doc, please provide a snippet of code.

Dude that doesn’t Work.
no reaction at all.

Your code…
frappe.ui.form.on(“Appointment Slot”,{
assign: function(frm, cdt, cdn){
var d = locals[cdt][cdn];
frappe.msgprint(‘button clicked’);
}
})