Friday, September 17, 2010

How to edit records by selecting checkboxes?

Hi,

Create a VF page 
This page contains list of contacts.
By default these records are not editable.
Each record has a checkbox.
If user clicks on a checkbox, then corresponding record will become editable.
User can modify that reocrd
Like that user can select multiple records and can modify them.
After changes, save all only those records which are editable. 
After saving the records refresh page and display updated record.
All checkboxes now should become unchecked.

2 comments: