Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable the delGridRow's confirmation box in jqGrid

Tags:

jqgrid

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

like image 623
vasanth Avatar asked Dec 17 '11 09:12

vasanth


1 Answers

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.

like image 167
Oleg Avatar answered Sep 29 '22 21:09

Oleg