PageBlockTable: 1) PageBlockTable should be define inside pageblock or pageblocksection. 2) PageBlockTable uses standard styles sheets to design a visualpage. 3) It has the required attribute "value". 4) Column headers will be displayed automatically. 5) No need to specify the headers
DataTable: 1) No need to write inside pageblock or pageblocksection. 2) There is no required value. 3) The data can be displayed using custom style sheets. 4) we need to specify column headers explicitly. 5) Need to specify the headers
PageBlockTable: 1) PageBlockTable should be define inside pageblock or pageblocksection. 2) PageBlockTable uses standard styles sheets to design a visualpage. 3) It has the required attribute "value". 4) Column headers will be displayed automatically. 5) No need to specify the headers
DataTable: 1) No need to write inside pageblock or pageblocksection. 2) There is no required value. 3) The data can be displayed using custom style sheets. 4) we need to specify column headers explicitly. 5) Need to specify the headers
1) PageBlockTable should be define inside pageblock or pageblocksection.
2) PageBlockTable uses standard styles sheets to design a visualpage.
3) It has the required attribute "value".
4) Column headers will be displayed automatically.
5) No need to specify the headers
DataTable:
1) No need to write inside pageblock or pageblocksection.
2) There is no required value.
3) The data can be displayed using custom style sheets.
4) we need to specify column headers explicitly.
5) Need to specify the headers
Please check below post for more info.
1) http://www.thephani.com/difference-between-pageblocktabe-datatable-repeat/
2) http://www.infallibletechie.com/2013/04/what-is-difference-between-and.html
All Answers
1) PageBlockTable should be define inside pageblock or pageblocksection.
2) PageBlockTable uses standard styles sheets to design a visualpage.
3) It has the required attribute "value".
4) Column headers will be displayed automatically.
5) No need to specify the headers
DataTable:
1) No need to write inside pageblock or pageblocksection.
2) There is no required value.
3) The data can be displayed using custom style sheets.
4) we need to specify column headers explicitly.
5) Need to specify the headers
Please check below post for more info.
1) http://www.thephani.com/difference-between-pageblocktabe-datatable-repeat/
2) http://www.infallibletechie.com/2013/04/what-is-difference-between-and.html