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
JackieDoanJackieDoan 

Need to add inline editing to a VF list view

Hi all,

 

I have created a VF page which displays a custom list view, in order to prevent my users from seeing the default 'new' button that exists on the standard custom object tab. 

 

I'd like to add inline editing functionality to this list view, but am unsure how to do it. Here's my code for the page:

 

<apex:page >
    <apex:enhancedList listId="00BQ0000000zEOg" height="600" customizable="false" rowsPerPage="25"/>
</apex:page>
logontokartiklogontokartik

<apex:enhancedList> by default comes with inline editing support. Not sure why you are not able to access it. Please check your FLS on the object.

PremanathPremanath

<apex:page standardController="Event">
<apex:form >
<apex:pageBlock >
<apex:detail inlineEdit="True" relatedList="true"/>
</apex:pageBlock>
</apex:form>
</apex:page>

 

Try like this

vishal@forcevishal@force

Hello,

 

If hiding the "New" button is your only reason for building a separate VF page, then you can do it directly. Go to

 

Setup -> Customize -> Contacts -> Search Layouts -> Contacts List View (edit) -> Uncheck the New button here.