Good day
Please can you explain to me how to create a table with multiple rows in a visualforce page. First row describes an attribute and the other rows contain a textbox to enter the value of the attribute.
Below is the code that I tried out but its not giving me the layout that I require:
<apex:page sidebar="true" >
<apex:form >
<apex:pageBlock>
<apex:panelGrid columns="1" width="50%" cellpadding="5" cellspacing="5" >
<apex:outputtext value="Network"/>
<apex:inputtext />
<apex:outputtext value="Size"/>
<apex:inputtext />
<apex:outputtext value="Assigned By"/>
<apex:inputtext />
<apex:outputtext value="Assign Date"/>
<apex:inputtext />
<apex:outputtext value="Percentage in Use"/>
<apex:inputtext />
<apex:commandbutton value="Save"/>
</apex:panelGrid>
</apex:pageBlock>
</apex:form>
</apex:page>
The layout that I am currently getting with the code snippet above is as follows:
I would like to get the layout shown below:
Thank you in advance.