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
SF UK ADMIN FINANCESF UK ADMIN FINANCE 

inline editing VF Page

Hello Experts,

I am facing a problem with inline editing in VF page, the problem is i am not pulling information from SOBJECT rather its a mix of controller class query and Custom Settings. Isthere anyway i can use inline editing with <apex:outputtext> ?? rather than outputfield as i am not putting informiaton from object directly. Below is the snapshot of code - if you want i can post full code but any direction is useful
 
<apex:column headerValue="Address" rendered="{!$Setup.CampaignColumns__c.ADDRESS__c}">
                            <apex:outputText value="{!lpt.ADDRESS}" escape="false"/>
                        </apex:column>
                       
                        <apex:column headerValue="Email" rendered="{!$Setup.CampaignColumns__c.EMAIL__c}">
                            <apex:outputText value="{!lpt.EMAIL}" escape="false"/>
                      <apex:facet name="header">

                       <apex:commandLink action="{!sortByEmail}" Value="Email" rerender="calls"/>
</apex:facet>

                        </apex:column>
                        <apex:column value="{!lpt.PHONE}" headerValue="Phone" rendered="{!$Setup.CampaignColumns__c.PHONE__c}" />
                        
                           <!-- Added by Ankur -->
      <apex:inlineEditSupport event="ondblClick" />
                      <!--  showOnEdit="saveButton,cancelButton" hideOnEdit="editButton" />  -->
  <!-- Until Here -->
                        <apex:column headerValue="Fax" rendered="{!$Setup.CampaignColumns__c.FAX__c}">
                            <apex:outputfield value="{!lpt.FAX}"/>
                            <!-- <apex:outputText value="{!lpt.FAX}" escape="false"/> -->
</apex:column>
                        <apex:inlineEditSupport event="ondblClick"  showOnEdit="SaveButton" hideOnEdit="massdelete" />

the code above is not working, can anyone help?

Cheers