+ Start a Discussion
병훈 송병훈 송 

How to make action in block table column?

How to make action in block table column?
I want make action in block table column
But column onclick only include property...
How to make it?

If I click Campaign List's Type (each value, and any field)
I want all the information(many fields) to appear in Campaign Detail Page Block.
<apex:page StandardController="Campaign" extensions="Campaign1">
  <apex:form >
    <apex:pageBlock title="Campaign Search">
            <apex:inputText label="SearchName" value="{!searchName}"/>
            <apex:commandButton value="Search" action="{!searchbox}"> </apex:commandButton>
    <apex:pageBlock title="Campaign Detail">
    <apex:pageBlock title="Campaign List">
        <apex:pageBlockTable value="{! campaigns}" var="cp">
            <apex:column value="{! cp.Name }"/>
            <apex:column value="{! cp.StartDate }"/>
            <apex:column value="{! cp.EndDate }"/>
            <apex:column value="{! cp.Type}"/>
    <!-- Pagination -->
<table style="width: 100%"><tr>
    <td align="center">
        <apex:commandLink value="« Previous"    />
<apex:outputText style="color: #ccc;" value="« Previous"   />
<apex:commandLink value="Next »"    />
<apex:outputText style="color: #ccc;" value="Next »"   />
    <td align="right">
        Records per page:
<apex:selectList size="1">
    <apex:selectOption itemValue="5" itemLabel="5"/>
    <apex:selectOption itemValue="20" itemLabel="20"/>
    <apex:actionSupport event="onchange" reRender="contacts_list"/>

Amit Chaudhary 8Amit Chaudhary 8
Please check below post for same issue
1) https://developer.salesforce.com/forums/?id=906F000000097YjIAI

Let us know if this will help you