vasanth
vasanth

Reputation: 77

Disable the delGridRow's confirmation box in jqGrid

How to disable the delGridRow's confirmation box ?? because i don't want to inform the changes to the user.

Upvotes: 5

Views: 2966

Answers (1)

Oleg
Oleg

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

Related Questions