jose
jose

Reputation: 1054

How to edit an HTML cell in AngularJS with X-editable

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 enter image description here refer: https://vitalets.github.io/angular-xeditable/#editable-table

Upvotes: 1

Views: 758

Answers (1)

chrismacp
chrismacp

Reputation: 3893

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.

Upvotes: 0

Related Questions