You need to sign in to do that
Don't have an account?
XIO
Inline Editing not working on Visulaforce Page
Hello Developers,
I have the Visualforce Page below that is suppose to be able to perform inline editing but when I click on Save it reverts back to the account record and does not save the data that was entered. Any assistance is greatly appreciated!
Thank you,
Gerald
I have the Visualforce Page below that is suppose to be able to perform inline editing but when I click on Save it reverts back to the account record and does not save the data that was entered. Any assistance is greatly appreciated!
Thank you,
Gerald
<apex:page standardController="Account" > <apex:sectionHeader title="Membership" subtitle="Entitlements"/> <apex:form > <div align="left"> <apex:commandButton value="Save" action="{!save}" id="saveButton" /> </div> <apex:pageBlock id="pb"> <apex:pageMessages /> <!-- <div align="center" draggable="false" > <apex:commandButton action="{!save}" value="Save" id="theButton" /> </div> --> <apex:pageBlockTable value="{!Account.SEMs__r}" var="A"> <apex:column headerValue="Service Discipline"> <apex:outputField value="{!A.Name}"> <apex:inlineEditSupport event="ondblclick" /> </apex:outputField> </apex:column> <apex:column headerValue="Entitlement Status"> <apex:outputField value="{!A.Membership_Status__c}"> <apex:inlineEditSupport event="ondblclick" /> </apex:outputField> </apex:column> <apex:column headerValue="Qualification Status"> <apex:outputField value="{!A.Status__c}"> <apex:inlineEditSupport event="ondblclick" /> </apex:outputField> </apex:column> <apex:column headerValue="Service Entitlement"> <apex:outputField value="{!A.Service_Entitlement__c}"> <apex:inlineEditSupport event="ondblclick" /> </apex:outputField> </apex:column> <apex:column headerValue="Opportunity"> <apex:outputField value="{!A.Opportunity__c}"> <apex:inlineEditSupport event="ondblclick" /> </apex:outputField> </apex:column> <apex:column headerValue="Notes"> <apex:outputField value="{!A.Notes__c}"> <apex:inlineEditSupport event="ondblclick" /> </apex:outputField> </apex:column> <apex:inlineEditSupport event="ondblClick" showOnEdit="saveButton,cancelButton" hideOnEdit="editButton" /> </apex:pageBlockTable> </apex:pageblock> </apex:form> </apex:page>