Reputation: 77
How to disable the delGridRow's confirmation box ?? because i don't want to inform the changes to the user.
Upvotes: 5
Views: 2966
Reputation: 222017
To solve the problem you can just simulate click on the "Delete" button having id="#dData" inside of afterShowForm:
afterShowForm: function ($form) {
$("#dData", $form.parent()).click();
}
See the demo.
Upvotes: 6