You need to sign in to do that
Don't have an account?
pageblocktable onrowclick
Can someone tell me why I am getting an unknown property accounts.SFDC_Account_Name__c when I pass this field as a parameter to the JS function
Save error: Unknown property 'DataIntegrityList.accounts'
I am completely baffled as there are many examples in the forum and the web depicting this same pattern.
Save error: Unknown property 'DataIntegrityList.accounts'
I am completely baffled as there are many examples in the forum and the web depicting this same pattern.
<apex:form > <apex:pageBlock title="Account Data Integrity Issues List"> <apex:pageBlockTable value="{!accountProblemsList}" var="accounts" onRowClick="rowSelected('{!accounts.SFDC_Account_Name__c}')"> <apex:column value="{!accounts.PW_Account_Number_SFDC__c}"/> <apex:column value="{!accounts.PW_Account_Number__c}"/> <apex:column value="{!accounts.SFDC_Account_Name__c}"/> <apex:column value="{!accounts.SFDC_ID_PW__c}"/> <apex:column value="{!accounts.PW_Rep__c}"/> <apex:column value="{!accounts.SFDC_rep__c}"/> <apex:column value="{!accounts.SFDC_repid__c}"/> <apex:column value="{!accounts.PW_Acct_Status__c}"/> </apex:pageBlockTable> </apex:pageBlock> </apex:form>
Pass this pointer to your JS function and access the element with DOM like this.
All Answers
Can you please post all the code including the JS.
Thanks
Vinuthh S
Pass this pointer to your JS function and access the element with DOM like this.
Hope this helps. thanks
Kevin
This works. Thanks. However it returns the whole row as a string. If I try and convert to an array I get not output