I have to Overide Lead Tab view to show Multiple List views Data has blocks in Same Page

So I've created a VF page Like this

<apex:page >
<Apex:pageBlock title="t1">
   <apex:pageBlockSection columns="3" showHeader="false">
     <apex:enhancedList rowsPerPage="10" listId="00B90000008hlhA" height="300" customizable="true"/>
    <apex:enhancedList rowsPerPage="10" listId="00B90000008OBmE" height="300"/>
       <apex:enhancedList rowsPerPage="10" listId="00B90000009Dw7C" height="250"/>


and Result is this enter image description here

Is there any way to remove the Buttons(New Lead , Change Owner), Pagination, Alphabets, Create New View LINK..etc. in vf Page

OR Should I write Custom List view Controller to show only Data


Use CSS visibility property to hide the buttons.

.yourbuttonClass { visibility: hidden }

To get the class of a button go to developer console of your browser.

| improve this answer | |
  • In case it is helpful for future readers, for me the equivalent of .yourbuttonClass was input.btn, final code <style type="text/css"> input.btn {visibility : hidden } </style> – Jwok Sep 16 '19 at 20:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.