Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2732
Commit when cell focus changes
posted

Hello,

Is it possible to implement an edit behavior that automatically commits changes when an input cell loses focus? I have tried to implement this myself, but when manually calling commit the grid appears to discard any changes made. I have simulated this behavior in a JSFiddle which you can find at http://jsfiddle.net/2ga7gm0d/

Is this the wrong way to implement that kind of behavior? Or is there a better, more efficiënt way of achieving the result I am looking for? Maybe a solution that also covers simular functionality of asking the user if he wants to leave the current page if there are uncommited changes in the grid?

Kind Regards

Parents Reply Children