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
Adam LeeAdam Lee 

Fields to be displayed like an table

Hi guys.

Hope you can help.

I am quite new with Visualforce and was wondering how I go about creating all the fields below into a matrix table. 

The fields on Salesforce
User-added image

How I want it

User-added image
Thanks in advance

Adam




 
David ZhuDavid Zhu
<table style="width:100%;">
    <tr>
        <td>
            <h1>Month</h1><p/>
        </td>
        <td>
            <h1>Plan GWP</h1><p/>
        </td>
        <td>
            <h1>Actual GWP</h1><p/>
        </td>
    </tr>
    <tr>
        <td>
            <h1>Jan</h1><p/>
        </td>
        <td>
            <apex:inputtext value = "{!janplangwpvalue}" />
        </td>
        <td>
            <apex:inputtext value = "{!janactualgwpvalue}" />
        </td>

    </tr>
.............
</table>
Adam LeeAdam Lee
I've tried similar but the layour is all over the place:

User-added image
Adam LeeAdam Lee
I’ve used apex:panelGrid and it worked Thanks anyway