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
355
igGrid CRUD operations
posted

I want to perform CRUD operations in the grid. I want to do individual updates and do not want to commit the grid on client side until the CRUD operations have taken place in the database successfully. So when deleting a row in the grid

 

$('body').on('iggridupdatingrowdeleted', '#grid', function () {

  $('#grid').igGrid("saveChanges")

 if (SuccessfulUpdate)

{

 $('#grid').igGrid("commit");

}

else

{

// Do not commit

}

});

How can I check for successful DB update here?