webismymind / editablegrid

EditableGrid is an open source Javascript library aimed at turning HTML tables into advanced editable components. It focuses on simplicity: only a few lines of code are required to get your first table up and running.
http://www.editablegrid.net
Other
796 stars 271 forks source link

Append() doesn't allow editing afterwards #165

Closed sensui7 closed 7 years ago

sensui7 commented 7 years ago

I would like to be able to append new rows to the table which I've correctly done.

e.g. editableGrid.append(editableGrid.data.length, { 'name' : 'Tom'}, true);

However, after appending the row, none of the values can be edited.

sensui7 commented 7 years ago

The solution was to use insertAfter(row, row + 1, values);