+ 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:facet name="header">

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



with the above code i am able to achieve the below table 
User-added image
Rahul KumarRahul Kumar (Salesforce Developers) 
May I suggest you please refer the below link for reference


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.