You need to sign in to do that
Don't have an account?
pageBlockSection columns Settings
I want to span second <apex:outputPanel > to two colums .
<apex:pageBlock id="demoid" title="Demo Block" >
<apex:pageBlockSection columns="3" >
<apex:outputPanel > TextLine1 </apex:outputPanel >
<apex:outputPanel > abcd abcd abcd abcd abcd</apex:outputPanel >
</apex:pageBlockSection>
</apex:pageBlock>
currentyl its shown as below:
---------------------------------------------------------------------
TextLine1 abcd abcd abcd. (EmptySpace)
abcd abcd
---------------------------------------------------------------------
I want as below :
---------------------------------------------------------------------
TextLine1 abcd abcd abcd abcd abcd .
---------------------------------------------------------------------
Thanks
Dipesh
instead of using outputPanel use <td>TextLine1</td> and <td colspan="2">abcd abcd abcd abcd abcd</td>
It's better to use HTML where possible as it will save on your view state.
All Answers
i want to merge last two colums. If i add third outputPanel then output will be same.
instead of using outputPanel use <td>TextLine1</td> and <td colspan="2">abcd abcd abcd abcd abcd</td>
It's better to use HTML where possible as it will save on your view state.
yes - thematty ...you are right, but have to remove apex:pageBlock and apex:pageBlockSection ... instead of i wrote as below ...
<table width="100%">
<tr>
<td > TextLine1 </td>
<td colspan="2"> abcd abcd abcd abcd abcd</td>
</tr>
</table>