function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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">
            <h2>Name</h2>
            <apex:inputText label="SearchName" value="{!searchName}"/>
            <apex:commandButton value="Search" action="{!searchbox}"> </apex:commandButton>
    </apex:pageBlock>
    
    <apex:pageBlock title="Campaign Detail">
        
    </apex:pageBlock>
    <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}"/>
        </apex:pageBlockTable>
        
     
    </apex:pageBlock>
    <!-- Pagination -->
<table style="width: 100%"><tr>
    <td>
        Page:
    </td>            
    <td align="center">
        
        
        <apex:commandLink value="« Previous"    />
<apex:outputText style="color: #ccc;" value="« Previous"   />
&nbsp;&nbsp;  
<apex:commandLink value="Next »"    />
<apex:outputText style="color: #ccc;" value="Next »"   />
        
        
    </td>
    
    <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"/>
</apex:selectList>
        
        
    </td>
</tr></table>
    </apex:form>
</apex:page>

 
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