• WHO WE ARE
  • WHAT WE DO
    • Salesforce
      • Implementations
        • Sales Cloud
        • Service Cloud
        • CPQ
      • Developments
        • Salesforce Customization
        • Custom Application Development
        • AppExchange Product Development
      • Migrations
        • Classic to Lightning Migration
        • Other Systems to Salesforce Migration
      • Integrations
    • Field Service Solutions
      • Field Service for Enterprises
      • Field Service for SMBs
    • AI/ML Solutions
      • Agentic AI
  • HOW WE DO
    • Delivery Model
    • Our Works
    • Events
      • Employee Empowerment Series
      • Employee Engagement Series
      • Knowledge Sharing Sessions
  • REACH US
    • Contact Us
    • Careers
  • BLOG
    • WHO WE ARE
    • WHAT WE DO
      • Salesforce
        • Implementations
          • Sales Cloud
          • Service Cloud
          • CPQ
        • Developments
          • Salesforce Customization
          • Custom Application Development
          • AppExchange Product Development
        • Migrations
          • Classic to Lightning Migration
          • Other Systems to Salesforce Migration
        • Integrations
      • Field Service Solutions
        • Field Service for Enterprises
        • Field Service for SMBs
      • AI/ML Solutions
        • Agentic AI
    • HOW WE DO
      • Delivery Model
      • Our Works
      • Events
        • Employee Empowerment Series
        • Employee Engagement Series
        • Knowledge Sharing Sessions
    • REACH US
      • Contact Us
      • Careers
    • BLOG
  • [email protected]
  • (+91) 44-49521562
Merfantz - Salesforce Solutions for SMEs
Merfantz - Salesforce Solutions for SMEs
  • WHO WE ARE
  • WHAT WE DO
    • Salesforce
      • Implementations
        • Sales Cloud
        • Service Cloud
        • CPQ
      • Developments
        • Salesforce Customization
        • Custom Application Development
        • AppExchange Product Development
      • Migrations
        • Classic to Lightning Migration
        • Other Systems to Salesforce Migration
      • Integrations
    • Field Service Solutions
      • Field Service for Enterprises
      • Field Service for SMBs
    • AI/ML Solutions
      • Agentic AI
  • HOW WE DO
    • Delivery Model
    • Our Works
    • Events
      • Employee Empowerment Series
      • Employee Engagement Series
      • Knowledge Sharing Sessions
  • REACH US
    • Contact Us
    • Careers
  • BLOG

Create Tables Display on Detail Page by Using VisualForce

  • July 27, 2017
  • Merfantz Editor
  • Salesforce Developments Tutorial
  • 6
Below code would help to create a table to display detailpage by using the visualforce page.
Step1:-
Inline Visualforce Page:-
<apex:page standardController="Lead" extensions="MonthTableExample">
   <apex:form>
       <apex:pageBlock title="Inline Visualforce Page Example">
             <table border="1px">
                   <tr>
                       <th></th>
                       <th>JAN</th>
                       <th>FEB</th>
                       <th>APR</th>
                       <th>MAY</th>
                   </tr>                    
                <apex:repeat value="{!leadList}" var="a" >
                  <tr>
                       <th>Usage</th>                       
                       <td>{! a.Jan_u__c}</td>                       
                       <td>{! a.feb_u__c}</td>
                  </tr>
                  <tr>
                      <th>Cost</th>
                      <td>{! a.Jan_c__c}</td>                       
                      <td>{! a.feb_c__c}</td>
                 </tr>
                </apex:repeat>
            </table>
       </apex:pageBlock>
   </apex:form>
</apex:page>

Extension:-
public class MonthTableExample {
    public String LId {get;set;}
    public List<Lead> leadList {get;set;}
    public MonthTableExample(ApexPages.StandardController controller){
       LId = ' ';
       LId=System.currentPageReference().getParameters().get('id');
       System.debug('...................LID=='+LId);
       Id i= Id.valueOf(LId);
       leadList = [Select Jan_c__c,Jan_u__c,feb_c__c,feb_u__c from Lead where Id=:i];
       system.debug('.............................leadlist=='+leadList);
   }
   public MonthTableExample(){
   }
}

Step 2:- Go to Lead Page and open any Lead Account and click Edit Layout.
Step 3:-  Create a new Section and Save any Name .
Step 4:-   Click on Visualforce Page then show your page with name then drag on this and drop of newly created section.This Screenshot will help you.
We have developed the feature for Creating tables display on detail page using VisualForce in Fieldax&Field Service Management. so kindly let us know if you have any query.

We are the ISV Partners and Please reach us for custom development => www.merfantz.com

---------------------- We Are Happy To Helping You ---------------------------

Author Bio

Merfantz Editor
+ Recent Posts
  • August 4, 2023
    How to Setup CRM Analytics for Financial Services Cloud
  • August 2, 2023
    How to Get Started with Salesforce Hyperforce - Merfantz
  • July 28, 2023
    Health Cloud Mastery: Salesforce Trailhead for Effective Healthcare CRM
  • July 26, 2023
    How to integrate Data cloud and Marketing cloud In Salesforce
Tags: Field Service ManagementFieldax
  • Previous Validation Rules on the VF page for Phone and Name in Salesforce
  • Next Assign Header And Footer using Visualforce Page with CSS

6 comments on “Create Tables Display on Detail Page by Using VisualForce”

  1. jam trading xauusd says:
    April 9, 2026 at

    This is my first time pay a visit at here and i am really happy to read all at alone place.

  2. Fashion Designer Classes Near Me says:
    April 21, 2026 at

    I am regular visitor, how are you everybody? This piece
    of writing posted at this website is in fact fastidious.

  3. Live Draw Sdy Lotto says:
    May 12, 2026 at

    hi!,I love your writing very a lot! percentage we keep in touch more about your post on AOL?
    I need a specialist in this space to unravel my problem. May be that’s you!
    Taking a look ahead to look you.

  4. Paito Sdy Lotto says:
    May 12, 2026 at

    Wonderful article! We are linking to this great post on our website.
    Keep up the good writing.

  5. paito sdy lotto says:
    May 25, 2026 at

    This design is incredible! You certainly know how to keep a reader entertained.
    Between your wit and your videos, I was almost moved to start my own blog
    (well, almost…HaHa!) Fantastic job. I really loved what you had to say, and more than that,
    how you presented it. Too cool!

  6. Alycia says:
    June 29, 2026 at

    The following blog site is fantastic. Articles or blog posts including this are nearly always forgotten, if truth be shown. Typically the finest of
    the World wide web isn’t the very most vastly commercialized written content, but rather
    everything else, the ignored herd with weblogs that are
    in truth much better in comparison with all those of crucial influencers.
    Now this is such a website. My partner and I will extend useful
    information, quite possibly every time not made to do this.
    Very first is, keep on creating. Second is, keep penning constantly.

    Lastly is, make use of your weblog to improve your own personal voice.
    I am not even a blogger I guess; I am in fact a Perinatal Massage Therapist.
    I carry out Postnatal Massage Therapy, being able to help
    ladies to recharge right after having a baby. It’s satisfying work.
    That is exactly what I spend a lot of of my work time engaging in, however I have in addition enjoyed crafting from the time I was a teen. I read
    through quite a few books and just about every calendar year I read a heap way taller compared with myself.
    rofl In the next four seasons, could be I will get serious concerning blogging and site-building.

    The issue is, it cannot really an impression; the efforts of authoring
    and establishing routinely can make a blog grow in some amount of time.

Leave a Reply

Your email address will not be published. Required fields are marked *

Merfantz Technologies is a leading Salesforce consulting firm dedicated to helping small and medium enterprises transform their operations and achieve their goals through the use of the Salesforce platform. Contact us today to learn more about our services and how we can help your business thrive.

Discover More

Terms and Conditions
Privacy Policy
Cancellation & Refund Policy
Information Security Policy

Contact Info

  • No 96, 2nd Floor, Greeta Tech Park, VSI Industrial Estate, Perungudi, Chennai 600 096, Tamil Nadu, INDIA
  • (+91) 44-49521562
  • [email protected]
  • 9:30 IST - 18:30 IST

Latest Posts

How to Tell If Your CRM Is Costing You More Than It’s Saving June 30, 2026
Why Your Salesforce Setup Can’t Support Your Next Stage of Growth June 23, 2026
Why Salesforce Becomes Difficult to Change Over Time June 16, 2026

Copyright @2023 Merfantz Technologies, All rights reserved