I want to hide settings icon in child doctype for the user

Hi All,

I need to hide settings icon from chid doctype,user dont want to hide or remove the fields in table.


Can you Please help me out.

frappe.ui.form.on("Doctype Name", {
    // you can also use onload event here
    refresh(frm) {
        $('use[href="#icon-setting-gear"]').parent().hide()
    },
});
3 Likes

Hi @ejaaz

I tried.but it not works.
Thank You!!..