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
fredkafredka 

DataTable - multiple rows for one record?

Hi - I have a visualforce page.. within the page, I have a pageblock, pageblocksection, dataTable and then I have 10 columns (I know that is a lot)  The problem is the data is all crowded together.

It there any way to wrap the data so that perhaps it takes up two rows for each record? 

Any suggestions would be greatly appreciated!!

thanks!!
Fred
Priyanka ChandrakanthPriyanka Chandrakanth
Hello Fred,

If you are trying to display a list of records in visualforce page, try looking into wrapper classes. Here is the link, https://developer.salesforce.com/page/Wrapper_Class. May be you can do some styling for these so that you have enough size of row to accomodate your record columns data.

Let me know if this helps!

Thanks,
Priyanka
fredkafredka
Thanks Priyanks.  I have the Sara table set up, it's just that the fields are all crammed together.  I'm looking for a way to format the layout.  Perhaps using more than one row for each record?

thanks!

fred