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
Dragon SlayerDragon Slayer 

Variable columns in VF page

I am trying to display the data from certain records in columns instead of rows so I am facing issues with it. The records will never be the same in quantity so the number of coulmns will vary based upon the number of records. Lets say that the name of the records is Record 1, Record 2, Record 3, so I would have 3 columns for these 3 records but if there are 5 records I would need 5 columns and also have to read all the data from these records and display those in the different rows of the corresponding columns. Is there any functionality like <Apex:Repeat> that can be used to achieve this? Here is how I want it to look like.

User-added image
Ramu_SFDCRamu_SFDC
See if this helps http://bobbuzzard.blogspot.sg/2010/09/rotating-visualforce-table.html