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
Yoshinori MoriYoshinori Mori 

header

I would like to place colspan label indicating the categories in front of the some colums as below.

Do I need to change to HTML tags using like <tr><th>?

Is there a way only to add some simple apex tag for this?

 

<apex:column id="city" >
                    <apex:facet name="header">City Name</apex:facet>
                    <apex:outputField value="{cityname__c}" />
 </apex:column>

 <apex:column id="production"  >
                    <apex:facet name="header">Production Name</apex:facet>
                    <apex:outputField value="{product__c}" />
 </apex:column>

 

Thanks

Mori

 

bob_buzzardbob_buzzard

Certainly that's been my experience.  The apex components produce the same number of columns for each row, so when I've needed to produce more complex table layouts I've gone back to standard HTML tags.