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
ashu 6112ashu 6112 

VisualForce Page issue urgent

Hi All,

I am getting all the records of associated deals as expected, but as the nuimber of record in database are large, so it is dispalying in different pages. 
Now the issue is Table header valures "talent Name" & "Service Type" is coming only on First page(because we didnot apply any repeat functionlity over the header) not on all pages, on all other pages, there is first row blank....Is there ay way to repeat the header values only after the page break..

Thanks in Advance for the help..
<apex:outputpanel rendered="{!( > 0)}" >
             <div class="slds-m-bottom--x-large">
                <h3 class="slds-p-around--x-small slds-theme--info slds-text-heading--medium"><strong>Associated Deals</strong></h3>
                <table class="slds-box slds-table slds-table--bordered slds-table--col-bordered slds-no-row-hover colBordered">
                  <tr class="slds-text-title--caps slds-theme--shade">
                      <th scope="col">
                        <div class="slds-truncate">Talent Name</div>
                      <th colspan="2" scope="col">
                        <div class="slds-truncate">Service Type</div>
                    <apex:repeat value="{!}" var="assDeals">
                        <div class="slds-truncate">{!assDeals.Talent_Name__r.Name}</div>
                        <div class="slds-truncate">{!assDeals.Service_Type__c}</div>


Try this way...

The problem is caused by repeat. Same thing happend to me. I change the value in header to be a value in a list and it works
 <apex:repeat value="{! displayColumList}" var="col">                                
                                <apex:column headerValue="{!col}" rendered="{! col=='Action'}" >
                                    <apex:inputCheckbox value="{!l.IsSelected}">
                                        <apex:actionSupport event="onchange" rerender="totalSelected" />