Inline editable grid row save/update in DB

I have an interface with editable grid (text fields marked READ ONLY = true) as shown below:

I am trying to change READ ONLY = false on PENCIL icon click (as shown below) for first name, last name & email text fields show that I can update the values and save/update in the DB.

Please help me on this.

  Discussion posts and replies are publicly visible