2

i have a vf called QuotePDF.when i click the button i will open the Quote PDF.

I want to place this button in my pageblock table as one of the column .how can i do that one.

    <apex:pageBlockTable value="{!quo}" var="q">
        <apex:column value="{!q.Quote_Number_New__c}"/>
         <apex:column value="{!q.From1__c}"/>
         <apex:column>

         </apex:column>
    </apex:pageBlockTable>             
6
  • Is it custom page? Feb 6, 2014 at 5:30
  • yes, Is is standard functionality or vf created by you? Feb 6, 2014 at 5:35
  • Then I think my answer should fit your requirements :) Feb 6, 2014 at 5:40
  • related list in table? isn't that solved? Or just normal related list? Feb 6, 2014 at 5:48
  • no,it is the only thing balance for my project
    – Teja
    Feb 6, 2014 at 5:50

2 Answers 2

4

You can craete such button realy easy :)

<apex:column>
    <apex:commandButton value="Create PDF" action="/apex/CreatePDF?id={!q.id}"/>
</apex:column>

This simple button can redirect you to your landing page. Those defined in action field.

0

you can simply create a apex:column in pageBlocktable and can create a button in that :

<apex:column >
  <apex:commandButton value="Test"/>
</apex:column>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .