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
DipaDipa 

Accessing ID of a selected record - while using apex:DataTable or apex:pageBlockTable

In a single page I need to display a list of records with update/delete/save options. Within the another section of the same page I need to display some details of the selected record, also with update/delete/save options. I have been trying if apex:selectList or apex:selectRadio can be helpful in this regard, but no luck ...

 

Is is something we can do in visual force?

aalbertaalbert

There is a simple example of implementing partial page updates/refreshes with Visualforce here

I would start there to see how you can have a click on a record re -render and refresh another section of the visualforce page. Secondly, you can simply have <apex:commandButtons> to have the Save, Update, Delete buttons displays on a per row/record basis or where ever desired. Hopefully this gets you started.