function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Juhi SahareJuhi Sahare 

how to hide edit and delete button from related list

Hi Juhi,
first of all, these are not button they are the custom link which works as the button and you can't hide these Links with salesforce setting an idea for this hide and show are given to salesforce success community. follow the link

but let me know you that you can override these custom link with a visualforce page and make some configuration 
Let me know if this was helpful 

Thank you 
Avaneesh Singh