Hiding edit and delete in list views or related list can be done using jquery in visualforce as follows...
<apex:page tabStyle="Case" standardController="case" recordSetVar="cases">
<apex:includeScript value="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"/>
<apex:sectionHeader title="Case" subTitle="Cases" />
<apex:pageMessages />
<apex:ListViews type="Case" />
<script>
// Using jQuery, hide all of the actionLinks (edit link specifically) on the Workshops
// This forces the user to click the Workshop name and then click the [Edit] button
$(".actionLink").css("display","none");
</script>
</apex:page>

No comments:
Post a Comment