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
Shruthi MN 19Shruthi MN 19 

Inline edit error

User-added image

I have written a code to add all opportunity amount on quota object and display the list of all opportunity

I am getting the above error

Now I have added inline edit for the same on VF page

<apex:page controller="listopponquota" lightningStylesheets="true" action="{!docallouts}">
    <apex:form > 
        <apex:pageBlock rendered="true" >
            <apex:pageBlockTable value="{!oppList}" var="v">
                <apex:column value="{!v.OwnerId}"/>
                
                <apex:column headerValue="Opportunity Name">
                    <apex:outputlink value="/{!v.Id}">{!v.Name}</apex:outputlink>
                </apex:column>
                <apex:column value="{!v.CloseDate}"/>
                <apex:column value="{!v.StageName}"/>
                <apex:column value="{!v.Amount}"/>
            </apex:pageBlockTable>
             <apex:outputField value="{!oppList}">
                      <apex:inlineEditSupport showOnEdit="saveButton, cancelButton" 
                        hideOnEdit="editButton,deleteButton" event="ondblclick" 
                        changedStyleClass="myBoldClass" resetFunction="resetInlineEdit"/>
                  </apex:outputField>
        </apex:pageBlock>
    </apex:form> 
</apex:page>