",r.headers[e]={width:H,el:this},L=i.p.colModel[e].sortable,"boolean"!=typeof L&&(i.p.colModel[e].sortable=!0,L=!0);var a=i.p.colModel[e].name;"cb"!==a&&"subgrid"!==a&&"rn"!==a&&i.p.viewsortcols[2]&&$(">div",this).addClass("ui-jqgrid-sortable"),L&&(i.p.multiSort?i.p.viewsortcols[0]?($("div span.s-ico",this).show(),i.p.colModel[e].lso&&$("div span.ui-icon-"+i.p.colModel[e].lso,this).removeClass("ui-state-disabled")):i.p.colModel[e].lso&&($("div span.s-ico",this).show(),$("div span.ui-icon-"+i.p.colModel[e].lso,this).removeClass("ui-state-disabled")):i.p.viewsortcols[0]?($("div span.s-ico",this).show(),e===i.p.lastsort&&$("div span.ui-icon-"+i.p.sortorder,this).removeClass("ui-state-disabled")):e===i.p.lastsort&&($("div span.s-ico",this).show(),$("div span.ui-icon-"+i.p.sortorder,this).removeClass("ui-state-disabled"))),i.p.footerrow&&(oe+=" | ")}).mousedown(function(e){if(1===$(e.target).closest("th>span.ui-jqgrid-resize").length){var t=P(this);return i.p.forceFit===!0&&(i.p.nv=N(t)),r.dragStart(t,e,O(t)),!1}}).click(function(e){if(i.p.disableClick)return i.p.disableClick=!1,!1;var t,r,a="th>div.ui-jqgrid-sortable";i.p.viewsortcols[2]||(a="th>div>span>span.ui-grid-ico-sort");var o=$(e.target).closest(a);if(1===o.length){var s;if(i.p.frozenColumns){var n=$(this)[0].id.substring(i.p.id.length+1);$(i.p.colModel).each(function(e){return this.name===n?(s=e,!1):void 0})}else s=P(this);return i.p.viewsortcols[2]||(t=!0,r=o.attr("sort")),null!=s&&R($("div",this)[0].id,s,t,r,this),!1}}),i.p.sortable&&$.fn.sortable)try{$(i).jqGrid("sortableColumns",se)}catch(de){}i.p.footerrow&&(oe+=" |
"+m+j+" | "+v+f+" |
"+(O?T+E:E+T)+" | "+z+H+" |
"+(D?G+C:C+G)+" | "+I+" |
'+t[a.p.id].msg+" |
"+y+" "+x+" |