Activity Forums Salesforce® Discussions What is the difference between Apex: pageBlockTable and Apex: repeat ?

  • What is the difference between Apex: pageBlockTable and Apex: repeat ?

    Posted by Aman on July 19, 2017 at 1:49 pm

    i want  to know when do we use Apex: pageBlockTable and Apex: repeat ?

    shariq replied 7 years, 4 months ago 2 Members · 1 Reply
  • 1 Reply
  • shariq

    Member
    July 19, 2017 at 1:57 pm

    Hi Aman,

    Apex PageBlockTable:-

    A list of data displayed as a table within either an apex:pageBlock or apex:pageBlockSection component, similar to a related list or list view in a standard Salesforce page. Like an apex:dataTable, an apex:pageBlockTable is defined by iterating over a set of data, displaying information about one item of data per row. The set of data can contain up to 1,000 items, or 10,000 items when the page is executed in read-only mode.

    Apex Repeat:-

    An iteration component that allows you to output the contents of a collection according to a structure that you specify. The collection can include up to 1,000 items.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos