+ Start a Discussion
ganta gadbadganta gadbad 

i'm displaying a list of records as a table with three columns using <apex:pageblocktable> it works fine but i want to have the same table to be displayed using HTMl tags instead of <apex:pageblocktable>

Roy LuoRoy Luo
      <th>Header 1</th>
      <th>Header 2</th>
      <th>Header 3</th>
<apex:repeat value="{!$itemDefinedInYourController}" var="c">

Sfdc CloudSfdc Cloud
You can use <apex:repeat> component insted of <apex:pageblocktable>.<apex:repeat> allows you to output the contents of a collection according to a structure that you specify.Html tag will help you to create your table with customize look and feel and repeat component will helps you to itrate over collection.
<apex:page standardController="Account">

    <table border="0" >


            <th>Case Number</th><th>Origin</th>

            <th>Creator Email</th><th>Status</th>


        <apex:repeat var="cases" value="{!Account.Cases}">









You can refer below link for reference

if this answer helps,please mark it as best answer to help others:)