How to hide or pointer events none

Hi all,

I want to hide or need to make pointer events none for Save As option which is showing in report view. How to do that?

Regards
Nivedha

Hi @Nivedha,

If you want to hide Save As Option from the Particular Doctype then you can use the listview client script.

frappe.listview_settings['Item'] = {
    refresh: function(listview) {
    	listview.page.menu.find('[data-label="Save%20As"]').parent().parent().remove();
    }
};

Output:

Reference:

Thank You!

1 Like

Hi @NCP ,
Great it is working thank you :handshake:. How to apply this for all doctype in common?

Regards
Nivedha