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
chaitanya salesforcecrmchaitanya salesforcecrm 

How to create a Visualforce Table in below format?

User-added image
I want to display the text Resdential for Sale,Resdential for Rent,Hotel,Retail,Office and Parking in the first row which are only Labels.
i have written below visualforce code
<apex:page standardController="Development_Project__c">
<apex:form >


            <apex:pageBlockSection columns="1">
               <apex:pageBlockTable value="{!Development_Project__c}" var="dp" columnsWidth="10%,5%,5%,5%,5%,5%,5%">
                   <apex:column>
                         <apex:facet name="header">
                       </apex:facet>
                    </apex:column>

                   <apex:column  headerValue="#Units">
                       <apex:inputfield value="{!Development_Project__c.Residential_for_Sale_Total_Unit_Size__c}"/>
                   </apex:column>
                   <apex:column  headervalue="GSF">
                       <apex:inputField value="{!Development_Project__c.Residential_for_Sale_Total_Gross_sf__c}"/>
                   </apex:column>
                   <apex:column  headervalue="NSF">
                       <apex:inputField value="{!Development_Project__c.Residential_for_Sale_Total_Net_sf__c}"/>
                   </apex:column>
                   <apex:column  headervalue="EFF%" />
                   <apex:column  headervalue="AVG Unit" />
                   <apex:column  headervalue="F to F Height" />


            </apex:pageBlockTable>

        </apex:pageBlockSection>

    </apex:form>
  </apex:page>
with the above code i am able to achieve the below table 
User-added image
 
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi,
May I suggest you please refer the below link for reference

https://appirio.com/tech-blog/how-to-create-a-multi-sheet-excel-workbook-from-apex

Thanks
Rahul Kumar
chaitanya salesforcecrmchaitanya salesforcecrm
Hi Rahul Kumar,
Thanks for your Help.the link gave me some idea how to achieve the functionality i need.
i was able to create below table in visualforce page.

User-added image
Graham Smith 7Graham Smith 7
If you know javascript, check out https://www.ag-grid.com

It's free & totally awesome.  I use it in most of my VF pages.  It's the best table library that is out there.

G.