If you are looking for a way to allow edits to the data inside a table, here is an example of an editable html table using the JSGrid library. It involves a lot more than just editing data cells, but it may give you some helpful ideas.
Apologies if I have misunderstood your request...