Putting check boxes enable and disable based on condition. For condition I need to access filed value which is in the model, not in the grid column.
How can I access the field value like in rowObject in the formatter?
$.subscribe("loadComplete", function(event, status, data){
var grid = $("#linesgrid");
var ids = grid.jqGrid('getDataIDs');
for(var i=0;i < ids.length;i++){
var rowId = ids[i];
var rowData = jQuery('#linesgrid).jqGrid ('getRowData', rowId);
if(rowData.filedvalue){
$("#jqg_linesgrid_"+rowId).attr("disabled", true);
}
}
});