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
Sukhdeep SinghSukhdeep Singh 

I need span one field in two columns. How can I do this ?

Hi I am useing below code to display multiple fields in a pageblock.
But I need span one field in two columns. How can I do this

<apex:pageblockSection title="Lead Details" columns="2"> 

<apex:outputField value="{!sellead.Description}" ><apex:inlineEditSupport event="ondblclick" 
            showOnEdit="saveButton, cancelButton" /></apex:outputField> 
Best Answer chosen by Sukhdeep Singh
Evan KennedyEvan Kennedy
columns="1" on a standard Salesforce layout will appear to span multiple columns.

You need to have things in different pageBlockSections, one section for 2-column layout and one section for 1 column layout.