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
Sandra OSandra O 

Enhanced List VisualForce Page

Need help with my VF page.  I am trying to display only the list view with no header, no buttons, no sidebar and not actions.  Anyone know how?
 
<apex:page sidebar="false" >
  
   <apex:enhancedlist type="Location__c" height="730" customizable="false" rowsPerPage="50" Listid="00B19000000S8a3"  />
  
</apex:page>

 
Shashikant SharmaShashikant Sharma
You need to overwrite styling rendered on the page. You could view source and see how could you achieve it.
Agustina GarciaAgustina Garcia
Another option could be to create a visualforce page with a custom controller but without standard one, so it will not inherint anything from the object. Then in the controller look for all your records and show them in the page using apex:dataTable for instance.

More code, but the page will not be related to any object.
Muthuraj TMuthuraj T
Hi,

You should remove buttons from Pagelayout and run the page like url below.

PageName?isdtp=vw or PageName?isdtp=mn