Creating table in Visualfore page

Creating table in Visualfore page

Sample Code:


Visualforce page:


<apex:page sidebar=”false” >
<apex:form >
<apex:panelGrid columns=”2″ width=”100%” cellpadding=”5″ cellspacing=”5″ >
    <apex:outputtext value=”Name”/>
    <apex:inputtext />
    <apex:outputtext value=”Age”/>
    <apex:inputtext />
    <apex:outputtext value=”Total Experience”/>
    <apex:inputtext />
    <apex:outputtext value=”Skill”/>
    <apex:inputtext />
    <apex:commandbutton value=”Validate”/>
</apex:panelGrid>
</apex:form>
</apex:page>



Output:




Leave a Reply