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
bujjibujji 

List values in seperate columns

Hi Guys,

 

I have a List coming from the controller into the page. I want to show this list values in seperate vlues.

Is it possible, if so how to do it. for example if am doing like below all the values coming in single column

 

<apex:column headerValue ="Test">

<apex:repeat value="{!account.ContactsName}" var="con">

     <apex:outputText >{!con.Name}, </apex:outputText>

</apex:repeat>

</apex:column>

 

o/p is   

 

Test

--------

Name1,Name2,Name3,Name4

 

 

But i want the output like below, for the columns headers i can create columns but i want Names in different columns.

 

Test 1            Test 2          Test 3

-------            ----------          ----------           ..............

Name 1        Name2        Name3

 


Please give me some idea. Very Urgent.

 

Thanks,

Bujji

Avidev9Avidev9
Where is test1, test 2 coming from ?
bujjibujji
Those are coming from some other object.

Thanks,
Bujji