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
Nagaraju MogiliNagaraju Mogili 

I Was unable to show the column header values in my visualforcepage, can anyone suggest me how to show the header value in my vf page..

User-added image

Here is My code....


<apex:page controller="NewController_cntrlr" sidebar="false" id="thepage" ShowHeader="false">
  <apex:form >
    <apex:pageBlock id="Thepage" title="Account Details">
       <apex:pageBlockSection collapsible="true">
          <apex:inputField value="{!acc.name}"/>
          <apex:inputField value="{!acc.rating}"/>
          <apex:inputField value="{!acc.AnnualRevenue}"/>
          <apex:inputField value="{!acc.Fax}"/>
          <apex:inputField value="{!acc.Industry}"/>
      </apex:pageBlockSection> 
        <apex:pageBlockSection >
            <apex:pageBlock title="Opportunities Information">
                <apex:pageBlockTable value="{!opplist}" var="x" columns="1">
                   <apex:column headerValue="Name">
                       <apex:inputText value="{!x.Name}"/>
                   </apex:column> <br/>  <br/>
                    <apex:column footerValue="stagename">
                       <apex:inputText value="{!x.StageName}"/>
                   </apex:column> 
                   <apex:column headerValue="CloseDate">
                       <apex:inputText value="{!x.CloseDate}"/>
                   </apex:column> 
                   <apex:column >
                       <apex:commandButton action="{!AddRow}" value="Addrow"/>
                   </apex:column>  
                   <apex:column >
                       <apex:commandButton action="{!DelRow}" value="Delrow"/>
                   </apex:column>   
                   <apex:column >
                       <apex:commandButton action="{!Edit}" value="Edit"/>
                   </apex:column>
                   <apex:column >
                       <apex:commandButton action="{!remove}" value="Remove"/>
                   </apex:column> 
                </apex:pageBlockTable>
            </apex:pageBlock>
        </apex:pageBlockSection>
    </apex:pageBlock>

  </apex:form>
</apex:page>
 
NagendraNagendra (Salesforce Developers) 
Hi Nagaraju,

May I suggest you please check with below links from the forums community with a similar issue and a suggested workaround. Hope this helps.

Mark this as solved if it's resolved.

Thanks,
Nagendra