Jqgrid save button, save Jqgrid Auto Refresh later
JQuery ("#grid_id"). Jqgrid (' Inlinenav ', ' #gridpager ', {editparams:{
Aftersavefunc:function (ROWID, response) {
$ ("#grid_id"). Trigger ("Reloadgrid");
return true;
}
}
});
Append or Edit button inactive after press save cancel
$ ("#grid_id_iladd"). Click (function () {
$ (del_grid_id). addclass (' ui-state-disabled ');
$ (search_grid_id). addclass (' ui-state-disabled ');
$ (refresh_grid_id). addclass (' ui-state-disabled ');
});
$ ("#grid_id_iledit"). Click (function () {
$ (del_grid_id). addclass (' ui-state-disabled ');
$ (search_grid_id). addclass (' ui-state-disabled ');
$ (refresh_grid_id). addclass (' ui-state-disabled ');
});
$ ("#grid_id_ilsave, #grid_id_ilcancel"). Click (function () {
$ (del_grid_id). Removeclass (' ui-state-disabled ');
$ (search_grid_id). Removeclass (' ui-state-disabled ');
$ (refresh_grid_id). Removeclass (' ui-state-disabled ');
});