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
MohaMoha 

problem with <apex:repeat>

hello, i'm using <apex:repeat> in my visualforce page and i want  the results to be displayed like this : 

1   2   3

and with <apex:reapeat> they are diplayed like that : 

1

2

3

i tried to implement <apex:panelgrid> but it's not working anyhelp please

this is my VF Code : 

 

<apex:page cache="false" sidebar="true" showHeader="true" controller="xxxxx">

<apex:pageBlock title="SAMPLE - Custom xxxx" >

<apex:repeat value="{!DashName}" var="oneName">
<apex:pageBlockSection columns="3">
<apex:outputPanel layout="block" style="width: 25%; float: left;">
<apex:panelGrid columns="2">

<apex:pageBlockSectionItem >
<c:GoogleChartComponent dashboardName1="oneName.Name" />
</apex:pageBlockSectionItem>
<apex:pageBlockSectionItem >
<c:GoogleChartComponent dashboardName1="oneName.Name"/>
</apex:pageBlockSectionItem>
</apex:panelgrid>
</apex:outputPanel>

</apex:pageBlockSection>
<apex:pageBlockSection columns="2">
<apex:outputPanel layout="block" style="width: 25%; float: left;">
<apex:panelGrid columns="1">

<apex:pageBlockSectionItem >
<c:GoogleChartComponent dashboardName1="{!oneName.Name}"/>
</apex:pageBlockSectionItem>

</apex:panelgrid>
</apex:outputPanel>
</apex:pageBlockSection>
</apex:repeat>
</apex:pageBlock>
</apex:page>

Best Answer chosen by Admin (Salesforce Developers) 
MohaMoha

Hello, i've solved it 

All Answers

MohaMoha

Hello, i've solved it 

This was selected as the best answer