+ Start a Discussion
TarentTarent 

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

 displaying   two Pageblocktables in same pageblocksection side by side.

Navatar_DbSupNavatar_DbSup

Hi,

Try the below code snippet as reference:

 

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

</apex:pageBlockTable>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:page>

 

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.