jQuery(\"#CustomerDetailsGrid\").jqGrid({ //ignore other properties colModel: [ { name: \'AccountNumber\', index: \'AccountNumber\', hidden: true, viewab
The best way is only adding the editrules:{edithidden:true} option.
colModel: [{ name: 'AccountNumber', index: 'AccountNumber', hidden: true, viewable: true,editrules:{edithidden:true} }]