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

pass pageblocktable row values into controller when row is clicked?

use apex:param to pass the ID of the record which is shown on the row of the pageblocktable..something similar to the usage as shown in the sample below :

<apex:commandButton value="Accept" disabled="{!DealMapWrapper[d].disablebutton}" action="{!CreateAcceptDealAction}"reRender="myPanel,totalsummary,tsummary">
<apex:param name="ADealID" assignto="{!DealID}" value="{!DealMapWrapper[d]}"></apex:param>                           
through button click we will send ,but here is no need of any button,just click on row on pageblocktable i have to get values into controller
Try like this