I have a table where one column is a 'Comment' section with a textarea where users can add a comment and save it for that row. I'm trying to think of the best way to implement this.
There are a number of ways that I can think of:
Have a button above the table to save all changes in the table which will send all data back to the server.
Have an additional 'Actions' column with a Save button to save individual rows.
Have a save button appear on hover for that row which will allow the user to save the comment for that row.
Make an AJAX call once the user has finished editing text in the textarea and display a message to show whether the save was successful or not.
I think the first option would be a waste of processing as potentially only a small amount of information will need to be saved at a time.
I also think that the fourth option will be the most confusing option for new users so I'm not sure I want to go with this option either.
I'd appreciate any comments on this and what the best practice would be for a users point of view