+ Start a Discussion
vfexp31.3955631467313875E12vfexp31.3955631467313875E12 

Display records in visualforce page

HI,

       I want to display the records the of 3 objects in same table in visualforce page may i know how to start this task. Any suggestions
Phillip SouthernPhillip Southern
Hi, in displaying those objects are you wanting to mash up the data and show elements of each on the same line item?  If so, you can do a wrapper class, which will have an instantiation of each object in the class.  Then you build a List of that wrapper class for the table to reference and iterate over.  As you build out each line, the var you set for the wrapper class will have to ability to call the internal objects inside the class.

Reference on wrapper class: http://wiki.developerforce.com/page/Wrapper_Class