+ Start a Discussion
tarun jain 110tarun jain 110 

Provide code for below table

Hi,
I want to make below table through apex class and show some custom data.
I need code for making exact table for showing data.User-added image
Tejas KardileTejas Kardile
Hi,

Please see below code, with the help of this sample code you will able to build build your page.

<apex:page standardController="Account">
   <apex:pageBlock title="Hello {!$User.FirstName}!">
      You are viewing the {!account.name} account.
   </apex:pageBlock>
   <apex:pageBlock title="Contacts">
      <apex:pageBlockTable value="{!account.Contacts}" var="contact">
         <apex:column value="{!contact.Name}"/>
         <apex:column value="{!contact.MailingCity}"/>
         <apex:column value="{!contact.Phone}"/>
      </apex:pageBlockTable>
   </apex:pageBlock>
</apex:page>

Thanks,
tarun jain 110tarun jain 110
I want to create same table like in above image with same paggination and view