Item Group rename button remove

Hi all,
Item group tree node rename button how to removed pls any one tell me…

Thanks for advance.

You want to remoce this(?):

yeah i want this button to remove…i don’t want rename button for all item group node how to remove this?

You can set “allow_rename” to false within doctype “Item Group”, after that, the “Rename”-Button is gone…


thanks for reply @joelios
hmm but i need via coding …any way?

Same i too want in coding to restrict the rename button… is it possible?

thank you @joelios,
I done via patch …it’s working fine