Posts

Showing posts with the label apex pageblock table

apex:PageBlockTable in Visualforce

This post Describing about using apex:pageblocktable and apex:column. --- Visual Force -- <apex:page controller="listpractice" sidebar="false" >  <apex:form >      <apex:pageBlock title="List">          <apex:pageBlockSection >                <apex:pageBlockTable value="{!allrecords}" var="rec" width="1200px">                                 <apex:column title="sdgsdgsd" headerValue="Form Ids" >                       {!rec.id}                   </apex:column>                   <apex:column headerValue="Name" >                        {!rec.name}                   </apex:column>                </apex:pageBlockTable>         </apex:pageBlockSection>      </apex:pageBlock>  </apex:form> </apex:page> --- Controllers -- public class listpractice {     public List<Account> allrecords { get; set; }     public List<