Your requirement isn't really clear...
Upon press of the button, should
- all textfields in your entire table be editable?
- all textfields of the selected row editable?
- only a certain cell in the selected row be editable?
- only a certain column for all rows be editable?
The solution highly depends on your requirements