+ Start a Discussion
Karen Brown 39Karen Brown 39 

More than 2 columns in pagelayout

There is an idea that is marked as delivered through lightning.... https://success.salesforce.com/ideaView?id=08730000000Ycj6AAC

But I am struggling to see how I can add more than 2 columns to a page layout, i know you can add components to lightning pages and this gives good flexability but the Record Detail component takes from the pagelayout you have created which I cannot see allows more than 2 columns...

please can someone tell me how to add more that 2 columns to pagelayout using lightning?

 
Best Answer chosen by Karen Brown 39
Tuan LuTuan Lu
Try lightning:layout component with horizontalAlign.

https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/aura_compref_lightning_layout.htm
 

All Answers

Tuan LuTuan Lu
Try lightning:layout component with horizontalAlign.

https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/aura_compref_lightning_layout.htm
 
This was selected as the best answer
Karen Brown 39Karen Brown 39
Thanks although not being a developer I am not sure how to build my own components...ill havea  read and see if i can digest and have a bash at it....  
Karen Brown 39Karen Brown 39
Does anyone have any code I can use as a baseline for a 3 column visualforce page that leaves equal spacing between columns

I need a Header per section and a header per coumn then rows of output fields per coloumn like the below;

Section Header
Column Header 1                Column Header 2             Column Header 3
Field 1                                   Field 1                               Field 1
Field 2                                   Field 2                               Field 2
Field 3                                   Field 3                               Field 3
Field 4                                   Field 4                               Field 4

​Thanks