Sign up ×
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute:

Want to Open up all the fields when I click add button in Ui-Grid Angular js, But now its open up the field that has focus

http://plnkr.co/edit/CNYB4YuDpi2rTTw7r44N?p=preview Here is my code in [plnkr]

example image

Pls Advice

share|improve this question

Bud,

you need separate row template with ng-if:

  • you create own property row.$isEditing for each row item
  • you create button that toggles row.$isEditing for exact row
  • after you done changes you hit Save button
  • result will be placed in collection using row.$index of that row

    Magica of templata

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.