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
NewInternNewIntern 

Strange behavior when displaying checkboxes on inline VF

The following issue is on the Pro Edition and does not happen on Enterprise. I have this custom grid with several checkboxes in it. This grid is rendered through an inline VF component/section on the Accounts page layout.

 

Now, I can't get to display the checkbox inline unless the same checkbox is displayed in the detail section. Whatever checkboxes I have left out from detail, is not displayed inline. Here is a snapshot of my Account page, which shows the same 3 details checkboxes (at the top) displayed inline in the single-row grid...nothing more, nothing less:

 

http://i.stack.imgur.com/RuXp0.png

 

How can I get to display inline without displaying the same field in detail? Right now, it pretty much defeats the very purpose of having the VF section.

 

Appreciate your help; here is the VF page code:

 

<apex:page standardController="Account">
 <apex:form>
  <apex:pageBlock id="theBlock" mode="inlineEdit">
   <apex:pageBlockButtons >
    <apex:commandButton action="{!quickSave}" id="saveButton" value="Save"/>
   </apex:pageBlockButtons>

<!-- first row -->
    <apex:pageBlockTable value="{!Account}" var="c"> 

        <apex:column headerValue="Fund/Status" width="111">
            <apex:outputText >
                <b>EJF</b>
            </apex:outputText>


        </apex:column>
          <apex:column headerValue="On Approved List" width="111">
            <apex:outputField value="{!c.EJF_Approved__c}">
               <apex:inlineEditSupport event="ondblclick"
                                       showOnEdit="saveButton"
                                       changedStyleClass="myBoldClass" 
                                       resetFunction="resetInlineEdit"/>
            </apex:outputfield>


        </apex:column>
        <apex:column headerValue="Pending Approval" width="111">
            <apex:outputField value="{!c.EJF_Pending__c}"> 
              <apex:inlineEditSupport event="ondblclick"
                                      showOnEdit="saveButton"
                                      changedStyleClass="myBoldClass" 
                                      resetFunction="resetInlineEdit"/> 
            </apex:outputfield>


        </apex:column>
        <apex:column headerValue="Denied Approval" width="111">
           <apex:outputField value="{!c.EJF_Denied__c}"> 
              <apex:inlineEditSupport event="ondblclick"
                                      showOnEdit="saveButton"
                                      changedStyleClass="myBoldClass" 
                                      resetFunction="resetInlineEdit"/> 
            </apex:outputfield>


        </apex:column>
        <apex:column headerValue="Removed From Approved" width="127">
            <apex:outputField value="{!c.EJF_Removed__c}"> 
              <apex:inlineEditSupport event="ondblclick"
                                      showOnEdit="saveButton"
                                      changedStyleClass="myBoldClass" 
                                      resetFunction="resetInlineEdit"/> 
            </apex:outputfield>


        </apex:column>
        <apex:column headerValue="ADV Part II Sent" width="123">
            <apex:outputField value="{!c.EJF_ADV__c}"> 
                <apex:inlineEditSupport event="ondblclick"
                                      showOnEdit="saveButton"
                                      changedStyleClass="myBoldClass" 
                                      resetFunction="resetInlineEdit"/> 
            </apex:outputfield>


        </apex:column>
        <apex:column headerValue="Fee Disclosure Signed" width="111">
           <apex:outputField value="{!c.EJF_FeeDisc__c}"> 
              <apex:inlineEditSupport event="ondblclick"
                                      showOnEdit="saveButton"
                                      changedStyleClass="myBoldClass" 
                                      resetFunction="resetInlineEdit"/> 
           </apex:outputfield>


        </apex:column>
        <apex:column headerValue="Invested" width="101">
            <apex:outputField value="{!c.EJF_Invested__c}"> 
                 <apex:inlineEditSupport event="ondblclick"
                                      showOnEdit="saveButton"
                                      changedStyleClass="myBoldClass" 
                                      resetFunction="resetInlineEdit"/> 
            </apex:outputfield>


        </apex:column>
        <apex:column headerValue="Redeemed" width="101">
            <apex:outputField value="{!c.EJF_Redeemed__c}"> 
              <apex:inlineEditSupport event="ondblclick"
                                      showOnEdit="saveButton"
                                      changedStyleClass="myBoldClass" 
                                      resetFunction="resetInlineEdit"/> 
            </apex:outputfield>
        </apex:column>
      </apex:pageBlockTable>
<!-- end of first row -->
    </apex:pageBlock>
  </apex:form>    
</apex:page>