i trying hide/disable edit/view button sharepoint list ribbon, not able to.
please let me know if can me. can use javascript.
also, please note want hide 2 buttons(edit/view) not whole ribbon.
you can use javascript hide ribbon shown below.
<script type="text/javascript"> function hiderbn() { var elmid = document.getelementbyid("ribbonid"); elmid.style.display = "none"; } _spbodyonloadfunctionnames.push("hiderbn"); </script>
Comments
Post a Comment