Dear Abu, I have two grills, master detail. In the second grid I use “Excel View”. There is some way that does not allow editing the cell depending on a state of the grid one
1 Answers
Hi,
Apologies for the delay. Ticket somehow got missed.
In master grid, you can set:
$opt[“onSelectRow”] = “function(id){ var state = true; if (id==3) state=false; $(‘#list2’).jqGrid(‘setColProp’,’amount’,{editable:state}); }”;
where:
id==3 is condition where you want to make field non-editable.
amount is the field of detail grid to toggle editing
list2 is id of detail grid.
Your Answer