You need to sign in to do that
Don't have an account?
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>
Hello, i've solved it
All Answers
Hello,
Please refer following links providing the code snippet for this requirement:
http://www.laceysnr.com/2012/11/checkboxes-and-columns-line-em-up.html
http://stackoverflow.com/questions/2525707/visualforce-convert-carriage-returns-to-html-line-breaks-in-a-long-text-field
Hello, i've solved it