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
915
Lose Focus on Row to Force Update
posted

I have read in IG's documentation that if I want to force Row Updating to occur immediately (when AutoCrud is on), I have to lose focus on the row being edited.

I cannot figure out how to do this.  Please help.

  • 5739
    Verified Answer
    posted

    Hi,

    You should handle the exitededitmode client side event as follows:

    function exitedEditMode(grid, args)
    {
       grid.get_behaviors().get_editingCore().commit();
    }

    You also have to handle the server side rowupdating event even if you don't put any code in it.  It should just be there.

    Ed