What is the difference between pageblocktable and datatable in vf pages ?



What is the difference between pageblocktable and datatable in vf pages ?..

Answer / Deepika Singh

PageBlockTable is a standard Apex UI component used for creating tables in Visualforce pages. It provides basic table functionality, such as sorting and pagination, but does not support complex features like dynamic column rendering or row actions. DataTable, on the other hand, is a JavaScript-based component that provides more advanced features than PageBlockTable, including customizable columns, sorting, filtering, and pagination. However, it requires more manual coding and may not be as intuitive to use.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Salesforce Interview Questions

Types of Sharing Rules in Salesforce and Explain it?

1 Answers  


Explain data validation rules contain?

1 Answers  


What is named credential in Salesforce?

1 Answers  


What are Trigger events? & context variables?

1 Answers   Accenture,


What are various standard exceptions that salesforce throws?

1 Answers  


What are the best practises for improving visualforce performance ?

1 Answers  


What is a standard report and custom report?

1 Answers  


Which are the possible ways to search within salesforce?

1 Answers  


How will you prevent a set of users from accessing a specific field?

1 Answers  


Why I am not able to find list of person account fields in field level security (fls) settings when navigated to fields on account object?

1 Answers  


How do you implement the locking functionality of records in apex ?

1 Answers  


List the important methods in list, set and map

1 Answers  


Categories