+ Start a Discussion

Hide Edit|Delete|Create New View from VFP with enhancedlist apex tag on custom object

The tag that constructs Edit|Delete|Create New View is <div id="j_id0:QNewsList_filterLinks" class="filterLinks">.
<apex:page tabStyle="Quest__tab" sidebar="false">
    <apex:includeScript value="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"/>
        j$ = jQuery.noConflict();
        j$(document).ready(function() {
    <apex:enhancedList type="QNews__c" height="500" rowsPerPage="10" id="QNewsList"/> 
Best Answer chosen by rebvijkum
SonamSonam (Salesforce Developers) 
The enhancedlist has an attribute known as customizable, make it false and it will hide the Hide Edit|Delete|Create New View

<apex:page >
    <apex:enhancedList type="Account" height="300" rowsPerPage="10" id="AccountList" customizable="false" />
    <apex:enhancedList type="Lead" height="300" rowsPerPage="25"
        id="LeadList" customizable="False" />