Thanks a lot Naveen. You are so great. Yes, i need to update multiple affected rows if user performs any changes to rows when update button gets clicked. I hope updateAuctionItems function in your example does that.. but r we checking any changes in that scope collection with existing values before sending back to server to avoid roundtrip?
Thanks again On Sunday, June 22, 2014 8:51:40 PM UTC+10, Naveen Kohli wrote: > > Can you define "update multiple scope"? Do you mean update other rows > based on change in one row? > See if this example helps. > > http://www.byteblocks.com/Post/Creating-angularJS-grid-for-MVC-application > > When you will make any change to any row, your collection in model will > have all the data. If you are running into some issues, let us know. > > On Sunday, June 22, 2014 5:10:56 AM UTC-4, balamurugan r wrote: >> >> >> >> <https://lh4.googleusercontent.com/-GTu5LDhWufg/U6acSEQJebI/AAAAAAAAAd4/KLanK0GNrWk/s1600/Untitled.png> >> Hi Guys, >> >> I have got a requirement like image above.. I can create the rows with >> ng-repeat with textbox.like (employee in employees) but *how can i >> update the multiple scope if any change made in single row with update >> button?* >> And for adding i can add like new form with separate new modal employee >> in *tfoot* tag of table and perform validation. >> >> Do we have any example for this to achieve this functionality ? >> >> Can someone please help me on this asap ? >> >> Thanks in advance >> >> >> -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
