You need to sign in to do that
Don't have an account?
Eric Blaxton
VisualForce Showing Related list...how to hide custom buttons
I am so close...yet so far away. I have a related list that I want to be editable with the action column and buttons working etc.
I created a VF page that shows this same related list on another object. On this view, I want to hide the action columns, successful, and I want to hide the new buttons, not successful. IS there a way to hide the command buttons easily?
Here is my code:
<apex:page standardController="Account" >
<apex:relatedList list="Registrations__r" pageSize="10" />
<style type="text/css">
.actionColumn {display:none; visibility:hidden}
.label {display:none; visibility:hidden}
</style>
</apex:page>
I created a VF page that shows this same related list on another object. On this view, I want to hide the action columns, successful, and I want to hide the new buttons, not successful. IS there a way to hide the command buttons easily?
Here is my code:
<apex:page standardController="Account" >
<apex:relatedList list="Registrations__r" pageSize="10" />
<style type="text/css">
.actionColumn {display:none; visibility:hidden}
.label {display:none; visibility:hidden}
</style>
</apex:page>
All Answers
Also see if this link helps you.
https://developer.salesforce.com/forums/ForumsMain?id=906F000000098pvIAA
Regards,
Satish Kumar