Disable or cancel delete on row condition in FORM
jqGridAddEditBeforeShowForm
. An example using jqGridAddEditBeforeShowForm event:
https://phpgrid.uservoice.com/knowledgebase/articles/387598-how-to-set-the-select-col-edittype-be-readonly
And replace the edit element with following:
And replace the edit element with following:
$('td.EditButton').
replaceWith( "<h2>
Selected Record(s) cannot be Deleted
</h2>" );