function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Hi, i need to display a command link "Edit" in a pageblocktable column,how can i achiece this?
Anyone give yhe suggestion?
Thanks in advance.
You can use command link in pageblock table colomn as following way
<apex:pageBlock title="New Company Approval Policies"> <apex:pageBlockTable value="{!NewCompanyApproval}" var="ca"> <apex:column headerValue="Company"> <apex:outputField value="{!ca.NewCA.Company__c}" rendered="{!ca.Deleted == false}"/> </apex:column> <apex:column headerValue="Approval Type"> <apex:outputField value="{!ca.NewCA.Approval_Type__c}" rendered="{!ca.Deleted == false}"/> </apex:column> <apex:column headerValue="Approver Type" > <apex:outputField value="{!ca.NewCA.Approver_Type__c}" rendered="{!ca.Deleted == false}"/> </apex:column> <apex:column headerValue="Unit" > <apex:outputField value="{!ca.NewCA.Unit__c}" rendered="{!ca.Deleted == false}"/> </apex:column> <apex:column > <apex:commandLink value="Delete" reRender="upsertApproval" action="{!methodOne}"/> </apex:column> </apex:pageBlockTable> </apex:pageBlock>
This is one of my code segment. Get the understand from this and apply to your requirement.
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.
You can use command link in pageblock table colomn as following way
This is one of my code segment. Get the understand from this and apply to your requirement.
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.