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
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.