Thursday 21 February 2013

How to Plot PageBlock Table using HTML table tags

Hi
In salesforce we can not complete our requirement always using PageBlock Table so we need to use HTML many times. so Here I am giving a way to convert HTML Table code to PageBlockTable.

Lets say if you need to plot this Table then

NameSSIDBank
Bank NameBank CodeAccount No.

Now it's Equivalent PageBlock Table:



VF Page :
 
 
  
   
   
 
Name SSID Bank
Bank Name Bank Code Account No.
Test1 TestId1 Bank Name1 Bank Code1 Account No.
Controller :
Public Class EquvilentTableCode
{
 public List DataList{get;set;}
 public EquvilentTableCode()
 {
 DataList = new List{'a' ,'b'};
 }
}

Thanks for reading.
SalesforceClub on FaceBook

No comments:

Post a Comment