Difference between pageblocktable,datatable and repeater?

PageBlockTable:


  • PageBlockTable should be define inside pageblock or pageblocksection.
  • PageBlockTable uses standard styles sheets to design a visualpage.
  • It has the  required attribute "value".
  • Column headers  will be displayed automatically.

DataTable:

  • No need to write inside pageblock or pageblocksection.
  • There is no required value.
  • The  data can be displayed using  custom style sheets.
  • we need to specify column headers explicitly.

Repeater:

  • There is no proper alignment of data in repeater compared with DataTable.

Comments

Popular posts from this blog

Approval Process

Spring Batch 2.0 -Basic Concepts

Sending Mass Emails From Salesforce