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
gdkgdk 

Update a field value from selected list of records in enhancedlist by selecting a value from lookup filed

hi,
iam define a lookup relation between two objects A__c(parent) and B__c(child), and displayed list of records of B in visulaforce page by using EnhancedList, and i placed a lookup field of B object under EnhancedList and i palced a button with value to Update.

i want to when i select a value from lookup field  and click on update button , the master field of EnhancedList will be get updated

pls help 
Ankit Gupta@ DeveloperAnkit Gupta@ Developer

Hi,

You can put a button for update the lookup value in EnhancedList.call the remote action method through javascript api and pass the selected recods id and parent record as paramter.you can update all the records