This is a jqGrid question.
I display both open and closed work orders in a jqgrid grid. However, i don't want to allow the user to edit the work order record if the work order has a status of "closed".
The only way i see to do this is in the "beforeShowForm" event or possibly after pressing the edit button, but i have not seen any jqgrid method that i could use to cancel the edit operation after pressing the edit button and before the Edit form pops up.
I will keep looking in the jqgrid docs, but any help would be great.