Hello,
I am using array data with datatype:”local” with multiselect
User checks off rows and clicks on update button  – I am doing some checks and using the following to delete the rows – by suppressing the dialog. This works but always the last row remains and does not get removed.
Is there a better method to prevent the dialog or mass delete rows
|
1 2 3 4 5 6 7 8 9 10 11 |
var ids = mygrid.jqGrid('getGridParam', 'selarrrow'); if (ids.length > 0) { for (j = 0, k = ids.length; j < k; j++) { mygrid.jqGrid('delGridRow', j, { afterShowForm: function(form) { $("#dData", form.parent()).click(); } } } } |
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top