Sunday, 2 February 2014

Inline Editing using Visualforce page

<apex:page standardController="Merchandise__c" recordSetVar="acts">
<apex:form >
<apex:pageBlock title="Merchandise">

        <apex:pageblockTable value="{!acts}" var="a">
            <apex:column value="{!a.name}"/>
        </apex:pageblockTable>


// code for inline Editing

 <apex:inlineEditSupport event="ondblclick" showOnEdit="saveButton, cancelButton" hideOnEdit="editButton"/>
 </apex:pageBlock>
</apex:form>
</apex:page>