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
veeru417veeru417 

How to display two Pageblocktables in same pageblocksection side by side ????

Hi,

can any one help what is the attribute that i need to set for  displaying   two Pageblocktables in same pageblocksection side by side.

 

 

Thanks&Regards,

Veerendra

Best Answer chosen by Admin (Salesforce Developers) 
Abhay AroraAbhay Arora

<apex:page standardController="Account">
<apex:pageBlock >
    <apex:pageBlockSection columns="4">
        <apex:pageBlockTable value="{!Account}" var="a">
            <apex:column headerValue="test"/>
        </apex:pageBlockTable>
        <apex:pageBlockTable value="{!Account}" var="b">
            <apex:column headerValue="test"/>
        
        </apex:pageBlockTable>        
    </apex:pageBlockSection>
</apex:pageBlock>
</apex:page>

 

 

Above is what you need

All Answers

Abhay AroraAbhay Arora

<apex:page standardController="Account">
<apex:pageBlock >
    <apex:pageBlockSection columns="4">
        <apex:pageBlockTable value="{!Account}" var="a">
            <apex:column headerValue="test"/>
        </apex:pageBlockTable>
        <apex:pageBlockTable value="{!Account}" var="b">
            <apex:column headerValue="test"/>
        
        </apex:pageBlockTable>        
    </apex:pageBlockSection>
</apex:pageBlock>
</apex:page>

 

 

Above is what you need

This was selected as the best answer
veeru417veeru417

Thanks   a lot dude

Matthew AllenMatthew Allen
<apex:pageBlockSection title="Additional Detail" columns="2">
                <apex:inputField value="{!Group_Relationship__c.Customers_IT_Roadmap__c}" required="false"/>
                <apex:inputField value="{!Group_Relationship__c.Contract_Expires__c}" required="false"/>
                </apex:pageBlockSection>    
            
            <apex:pageBlockSection title="Finance" columns="2">
                <apex:inputField value="{!Group_Relationship__c.Volume_Budget__c}" required="false"/>
                <apex:inputField value="{!Group_Relationship__c.Volume_Forecast__c}" required="false"/>
                </apex:pageBlockSection>
Can anyone help me get these two pageBlockSections next to each other on a page please?