问题
I am using angular js ng-repeat to bind data and I need batch edit (xeditable) now when I click edit button whole table will convert into editable but I want where user want to edit that particular cell will change into editable help refer: https://vitalets.github.io/angular-xeditable/#editable-table
回答1:
Looks like you may want to enable editing each row with a button like in this example:
https://vitalets.github.io/angular-xeditable/#editable-row
The example looks like it is creating a form for each row whereas you have only one form for the whole table.
If you do create a form for each row then you could also probably work out how to reference each row form and and trigger editing any way you want.
来源:https://stackoverflow.com/questions/42758399/how-to-edit-an-html-cell-in-angularjs-with-x-editable