+ Start a Discussion
aswanijagadesh1.397398535585991E12aswanijagadesh1.397398535585991E12 

pass pageblocktable row values into controller when row is clicked?

Sonam_SFDCSonam_SFDC
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].deal.id}"></apex:param>                           
</apex:commandButton>
aswanijagadesh1.397398535585991E12aswanijagadesh1.397398535585991E12
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
MagulanDuraipandianMagulanDuraipandian
Try like this

http://www.infallibletechie.com/2012/06/dynamically-deleting-rows-in-apex.html