2 件の回答
Hi Krishna,You can use apex:column tag simply inside the pageblock like below:<apex:pageBlockTable value="{!MyAccounts}" var="Account" ><apex:column headerValue="ID" headerClass="TableTitle" value="{!Account.ID}" /><apex:column headerValue="Name" headerClass="TableTitle" value="{!Account.Name}" /></apex:pageBlockTable>oryou can use the apex:facet inside the apex:colum<apex:column > <apex:facet name="header">Name</apex:facet> {!contact.Name} </apex:column><apex:column > <apex:facet name="header">Phone</apex:facet> {!contact.Phone} </apex:column>Can you please Let me know if it helps or not!!! If it helps don't forget to mark this as a best answer!!!Thanks,Maharajan.C