Hello,
I have setup in jqGrid a delete function call that uses the native features for checking if a row have been selected in the grid or not as in the following code sample:
$("#myGrid").jqGrid('navGrid', '#pager',
{ add: true, addtitle: 'Add record',
edit: true, edittitle: 'Edit record',
del: true, deltitle: 'Delete record',
addfunc: addFulfilment, editfunc: editFulfilment
},
{}, // default settings for edit
{}, // default settings for add
{
// define settings for Delete
mtype: "post",
reloadAfterSubmit: false,
onclickSubmit: function (rp_ge, postdata) {
rp_ge.url = '/Customer/Delete/' + postdata;
}
},
{}, // search options
{}
);
This works fine showing a confirm message before the delete method get called.
Is there a way to customize the delete message that appear on the popup window?