vitalets / angular-xeditable

Edit in place for AngularJS
http://vitalets.github.io/angular-xeditable
MIT License
1.91k stars 403 forks source link

The current row is not updated till we save #470

Open afroz786 opened 8 years ago

afroz786 commented 8 years ago

e-ng-change($data,currentRow) in this on change event i want the value of different fields in current row. m getting the current data but since the currentRow is not bind at the moment i get undefined. but i want to do validation of 1 select field depending on other select field. How to do that?

Thanks for speedy reply, u already solved 2 of my issues :+1:

ckosloski commented 8 years ago

I think the only thing you can currently do is some form of onbeforesave/onaftersave. See the documentation

afroz786 commented 8 years ago

Then after every row the user has to save according to my current requirement. Guess have to make use of normal select box and table for this.

ckosloski commented 8 years ago

Yeah, I don't think there is any other way to do it right now and I think I've seen other issues opened with similar problems.