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
Stephen Cormier 5Stephen Cormier 5 

Can I hide the alphabet shortcuts on a custom list view created in visual force?

Created a custom list view in visual force to add onto a page mimicking a related list. 

I needed to remove the Action column-- that was sucessfully done through some javascript code I found here-- I pasted the code below too ( https://developer.salesforce.com/forums/?id=9060G000000MOwXQAW ). 
How can I remove the alphabet shortcuts above the list view? 

User-added image
________________________________________________________



<apex:page tabStyle="Order__c"  showHeader="false" standardController="Account"  >
                <style> 
                    .background {width:100%; hieght:100%; align:center; background:white;}
                </style>
        
        <div class="background">   
          
             <!-- This includeScript enables the script action below which removes the "Action" column of the list. -->
             <apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"/> 
             <!-- <apex:sectionHeader title="Recieved" subTitle="Orders" /> --> 
                    <!-- <apex:pageMessages /> --> 
               <apex:ListViews type="Order__c" />    
               <!-- <apex:enhancedList type="Order__c" height="400" rowsPerPage="100"     />  -->
        </div>
             <script>
                 $(".actionColumn").css("display","none");
             </script>
             
             <script type="application/javascript">
    var aTags = document.getElementsByTagName('a');
    for(var i = 0; i < aTags.length; i++) 
        aTags[i].target = "_parent";
    function navigateToUrl (a){ 
        window.top.location.href = a; 
    }
            </script>
   
</apex:page>
sridhar v 7sridhar v 7
I think adding this class to style should hide the alphabet links.

.rolodex {
   display:none;
}