I have the following code
editOptions: {
beforeShowForm: function () {
var myGrid = $('#list'),
selRowId = myGrid.jqGrid('getGridParam', 'selrow'),
IsIssued = myGrid.jqGrid('getCell', selRowId, 'Status');
// alert(IsIssued);
if (IsIssued == 'true') {
alert("asd")
return [false];
}
else
return [true, "ll"];
},
I want that if the
(IsIssued == 'true')
then do not show the Edit Form. Is it possible? Because it is always showing me the Edit form.