List is single column / field and 100 rows long, BUT I need to display as 5 columns of 20 rows.
Having a little difficulty figuring this one out, hopefull you can help. I have a list to print as a PDF, single column / field, data is 100 rows long, BUT I need to display as 5 columns of 20 rows.
Right now I have:
Name
blah
blah
blah
blah
.....
I want to:
Name Name Name Name Name
blah blah blah blah blah
blah blah blah blah blah
This is my controller:
public class dataTableCon {
List<Packages__c> pds;
public List<Packages__c> getpds() {
pds = [select Name, Channel_Name__c, Logo__c, Parent_Product_Content__c, Parent_Product_Content__r.Name, Product_del__c, Product_del__r.Name FROM Packages__c WHERE Product_del__r.Name = 'Whatever Name'];
You might want to look into Bob Buzzard's blog
http://bobbuzzard.blogspot.com/2011/03/edit-parent-and-child-records-with.html
it's similar to what you want, but basically his doing an inputfield rather than output field.
You might want to also look into Jeff Douglas' blog he had something similar in the past.