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

  • 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.