Activity Forums Salesforce® Discussions dataTable tag vs pageBlockTable in Visualforce

  • dataTable tag vs pageBlockTable in Visualforce

    Posted by Anjali on January 22, 2020 at 4:51 pm

    When to use dataTable tag while writing vf page code and how it different from pageBlockTable tag?

    • This discussion was modified 4 years, 2 months ago by  Anjali.
    MOHIT replied 4 years, 2 months ago 2 Members · 1 Reply
  • 1 Reply
  • MOHIT

    Member
    January 22, 2020 at 5:22 pm

    <Apex:datatable> tag is used to create data tables in visualforce pages. Each item in the data table is displayed in the form of rows and columns while, <apex:pageblock> is  used to create a section of Block in visualforce page. We can create multiple input fields, buttons, tables, links in page block section. In page block section we can create page block sections.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos