0

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

0

1 Answer 1

0

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.