Is there a way to make columns wrap to the next row? I want to only have like 5 columns on row one and the rest on row two. Is there an easy way to do this?
<apex:pageBlockTable id="pbt_myTable" value="{!esb_List}" var="ben" rendered="{!!serviceSession}">
<apex:column style="{!if(ben.Account_Benefit__r.Grandfathered__c = TRUE,'background:#BDB76B;', '')}" >
<apex:facet name="header">Account Benefit</apex:facet>
<apex:outputLink value="/{!ben.Account_Benefit__r.id}" target="_blank">{!ben.Account_Benefit__r.Name}</apex:outputLink>
</apex:column>
<apex:column headerValue="Election Status" style="{!if(ben.Account_Benefit__r.Grandfathered__c = TRUE,'background:#BDB76B;', '')}">
<img src="/img/alohaSkin/help_orange.png" title="{!$ObjectType.Employee_Session_Benefit__c.Fields.Election_Status__c.inlineHelpText}" height="14" width="14"/>
<apex:inputField value="{!ben.Election_Status__c}" rendered="{!!sessionEditDisable}"/>
<apex:outputField value="{!ben.Election_Status__c}" rendered="{!sessionEditDisable}"/>
</apex:column>
<apex:column headerValue="Paper Status" style="{!if(ben.Account_Benefit__r.Grandfathered__c = TRUE,'background:#BDB76B;', '')}">
<apex:inputField value="{!ben.Paper_Status__c}" rendered="{!paperRender && !sessionEditDisable}" />
<apex:outputText value="{!ben.Paper_Status__c}" rendered="{!paperRender && !!sessionEditDisable}" />
</apex:column>
<apex:column headerValue="Incomplete Reason" style="{!if(ben.Account_Benefit__r.Grandfathered__c = TRUE,'background:#BDB76B;', '')}">
<apex:inputField value="{!ben.Incomplete_Reason__c}" rendered="{!incompleteRender && !sessionEditDisable}" />
<apex:outputText value="{!ben.Incomplete_Reason__c}" rendered="{!incompleteRender && !!sessionEditDisable}" />
</apex:column>
<apex:column headerValue="Per Payroll Premium" id="Premium" style="{!if(ben.Account_Benefit__r.Grandfathered__c = TRUE,'background:#BDB76B;', '')}">
<apex:inputField value="{!ben.Premium__c}" rendered="{!!sessionEditDisable}"/>
<apex:outputText value="{!ben.Premium__c}" rendered="{!sessionEditDisable}"/>
</apex:column>
<apex:column headerValue="Reduced Premium" >
<apex:inputField value="{!ben.Reduced_Premium__c}" rendered="{!!sessionEditDisable}" />
<apex:outputText value="{!ben.Reduced_Premium__c}" rendered="{!sessionEditDisable}" />
</apex:column>
<apex:column headerValue="Adjusted Per Payroll Premium" >
<apex:inputField value="{!ben.Adjusted_Per_Payroll_Premium__c}" rendered="{!!sessionEditDisable}" />
<apex:outputText value="{!ben.Adjusted_Per_Payroll_Premium__c}" rendered="{!sessionEditDisable}" />
</apex:column>
<apex:column headerValue="Volume" rendered="{!showVolume}" style="{!if(ben.Account_Benefit__r.Grandfathered__c = TRUE,'background:#BDB76B;', '')}">
<apex:inputField value="{!ben.Volume__c}" rendered="{!ben.Account_Benefit__r.Show_Volume__c && !sessionEditDisable}" />
<apex:outputText value="{!ben.Volume__c}" rendered="{!ben.Account_Benefit__r.Show_Volume__c && !!sessionEditDisable}" />
</apex:column>
<apex:column headerValue="Elimination Period" rendered="{!showEliminationPeriod}" style="{!if(ben.Account_Benefit__r.Grandfathered__c = TRUE,'background:#BDB76B;', '')}">
<apex:inputField value="{!ben.Elimination_Period__c}" rendered="{!ben.Account_Benefit__r.Show_Elimination_Period__c && !sessionEditDisable}"/>
<apex:outputText value="{!ben.Elimination_Period__c}" rendered="{!ben.Account_Benefit__r.Show_Elimination_Period__c && !!sessionEditDisable}"/>
</apex:column>
</apex:pageBlockTable>