jquery.jqGrid.extend.min.js 20 KB
var DataGrid=function(options){var dataGrid=options.dataGrid?options.dataGrid:$("#dataGrid");var searchForm=options.searchForm?options.searchForm:$("#searchForm");var dataGridPage=options.dataGridPage?options.dataGridPage:$("#dataGridPage");options=$.extend({url:searchForm.attr("action"),postData:searchForm.serializeArray(),mtype:"POST",datatype:"json",jsonReader:{id:options.dataId,root:"list",page:"pageNo",total:"totalPage",records:"count",subgrid:{root:"list"}},treeReader:{level_field:"sortGrade",parent_id_field:"parentCode",leaf_field:"isLeaf",expanded_field:"isOpen",icon_field:"_icon"},prmNames:{page:"pageNo",rows:"pageSize",sort:"orderBy",order:"sord",search:"_search",nd:"nd",id:"id",oper:"oper",editoper:"edit",addoper:"add",deloper:"del",subgridid:"id",npage:null,totalrows:"totalPage"},rowNum:-1,rownumWidth:30,multiboxonly:true,altRows:true,tabPageId:"",columnModel:[],colNames:[],colModel:options.columnModel,dataId:"id",showRownum:true,showCheckbox:false,sortable:true,treeGrid:false,treeGridModel:"adjacency",ExpandColClick:true,ExpandColumn:options.treeColumn,defaultExpandLevel:0,initExpandLevel:options.defaultExpandLevel,btnSearch:$("#btnSearch"),btnRefreshTree:$("#btnRefreshTree"),btnExpandTreeNode:$("#btnExpandTreeNode"),btnCollapseTreeNode:$("#btnCollapseTreeNode"),inputPageNo:$("#pageNo",searchForm),inputPageSize:$("#pageSize",searchForm),inputOrderBy:$("#orderBy",searchForm),beforeRequest:function(data){loading();if(options.treeGrid){var postData=getParam("postData");if(postData.id){setParam({postData:{id:postData.id}})}else{if(postData.nodeid){setParam({postData:{parentCode:postData.nodeid}})}else{setParam({postData:searchForm.serializeArray()})}}}else{setParam({postData:searchForm.serializeArray()})}if(typeof options.ajaxLoad=="function"){options.ajaxLoad(data)}$(".btn").attr("disabled",true);$(".ui-jqgrid .loading").remove()},loadComplete:function(data){if(options.treeGrid){if(dataGrid.expandNodeIds){setTimeout(function(){if(dataGrid.expandNodeIds.length>0){$("#"+dataGrid.expandNodeIds.shift()+":visible .tree-plus",dataGrid).click()
}else{if(dataGrid.currentLevel<dataGrid.expandLevel){dataGrid.currentLevel++;dataGrid.expandNodeIds=[];$(".jqgrow:visible .tree-plus",dataGrid).each(function(){var id=$(this).parents(".jqgrow").attr("id");dataGrid.expandNodeIds.push(id)});$("#"+dataGrid.expandNodeIds.shift()+":visible .tree-plus",dataGrid).click()}else{dataGrid.expandNodeIds=null}}},10)}else{if(options.defaultExpandLevel&&options.defaultExpandLevel>0){expandTreeNode(options.defaultExpandLevel);options.defaultExpandLevel=0}}setParam({postData:{id:"",nodeid:""}})}else{if(data&&data.html){dataGridPage.html(data.html)}}if(typeof options.ajaxSuccess=="function"){options.ajaxSuccess(data)}if(typeof options.btnEventBind=="function"){options.btnEventBind($(".btnList"))}resizeDataGrid();$(".btn").attr("disabled",false);closeLoading()},loadError:function(data){if(typeof options.ajaxError=="function"){options.ajaxError(data)}$(".btn").attr("disabled",false);showMessage("操作失败,"+data.responseText);closeLoading(0,true)},gridComplete:function(){if(typeof options.complete=="function"){options.complete()}resizeDataGrid()},onSortCol:function(index,iCol,sortorder){if(options.inputOrderBy&&options.inputOrderBy.length){options.inputOrderBy.val(index+" "+sortorder)}},btnEventBind:function(elements){elements.each(function(){var clickBinded=$(this).attr("data-click-binded");if(clickBinded==undefined){$(this).attr("data-click-binded",true);$(this).click(function(){var se=$(this);var url=se.attr("href");var title=se.data("title");if(title==undefined){title=se.attr("title")}var confirm=se.data("confirm");if(confirm!=undefined){confirmx(confirm,url,function(data){showMessage(data.message);if(data.result==Global.TRUE){var confirmSuccess=se.data("confirmSuccess");if(confirmSuccess!=undefined){try{eval(confirmSuccess)}catch(e){Log.log("confirmSuccess error: "+e)}}else{if(options.treeGrid){var row=getRowData(se.parents(".jqgrow").attr("id"));if(row&&!isRoot(row.parentCode)){refreshTree(1,row.parentCode)}else{refreshTree()}}else{refresh()}}}},"json")}else{addTabPage($(this),title,url,options.tabPageId)
}return false})}});return self},ajaxLoad:function(data){},ajaxSuccess:function(data){},ajaxError:function(data){},complete:function(){}},options);options.colNames=[];for(var i=0;i<options.colModel.length;i++){options.colNames.push(options.colModel[i].header);if(options.treeGrid||!options.sortable){options.colModel[i].sortable=false}}if(options.treeGrid){options.showRownum=false;options.showCheckbox=false}if(options.showRownum){options.rownumbers=true}if(options.showCheckbox){options.multiselect=true}if(options.groupHeaders||options.frozenCols){options.shrinkToFit=false}else{options.shrinkToFit=true}if(options.showFooter){options.footerrow=true;options.userDataOnFooter=true}if(options.inputPageNo.length==0){var pageNo=searchForm.data("pageNo");searchForm.append('<input id="pageNo" name="pageNo" type="hidden" value="'+(pageNo?pageNo:"")+'"/>');options.inputPageNo=$("#pageNo",searchForm)}if(options.inputPageSize.length==0){var pageSize=searchForm.data("pageSize");searchForm.append('<input id="pageSize" name="pageSize" type="hidden" value="'+(pageSize?pageSize:"")+'"/>');options.inputPageSize=$("#pageSize",searchForm)}if(options.inputOrderBy.length==0){var orderBy=searchForm.data("orderBy");searchForm.append('<input id="orderBy" name="orderBy" type="hidden" value="'+(orderBy?orderBy:"")+'"/>');options.inputOrderBy=$("#orderBy",searchForm)}searchForm.submit(function(){refresh();return false});if(typeof options.btnEventBind=="function"){options.btnEventBind($(".btnTool"));options.btnSearch.click(function(){searchForm.toggleClass("hide");resizeDataGrid();return false});options.btnRefreshTree.click(function(){$("input[type=reset]",searchForm).click();refreshTree();return false});options.btnExpandTreeNode.click(function(){expandTreeNode(1);return false});options.btnCollapseTreeNode.click(function(){collapseTreeNode();return false})}dataGrid.jqGrid(options);if(options.groupHeaders&&options.groupHeaders.twoLevel){if(options.groupHeaders.threeLevel){dataGrid.jqGrid("setComplexHeaders",{complexHeaders:{defaultStyle:true,twoLevel:options.groupHeaders.twoLevel,threeLevel:options.groupHeaders.threeLevel}})
}else{dataGrid.jqGrid("setGroupHeaders",{useColSpanStyle:true,groupHeaders:options.groupHeaders.twoLevel})}}if(options.frozenCols){dataGrid.jqGrid("setFrozenColumns")}$(window).resize(function(){resizeDataGrid()});resizeDataGrid();function resizeDataGrid(){var jqGridParent=$(dataGrid).parents(".ui-jqgrid").parent();var setGridHeight=function(){var tabContent=$(dataGrid).parents(".tab-content");if(tabContent.length>0){var headerHeight=30;if(options.groupHeaders&&options.groupHeaders.twoLevel){if(options.groupHeaders.threeLevel){headerHeight*=3}else{headerHeight*=2}}var gridHeight=tabContent.height()-headerHeight;dataGrid.jqGrid("setGridHeight",gridHeight)}else{var gridHeight=$(dataGrid).height();var gridParent=$(dataGrid).parent();if(gridParent.length!=0){gridHeight=gridParent.height()}gridHeight=($(window).height()-$("body").height()+gridHeight);if(gridHeight<150){gridHeight=150}gridParent.height(gridHeight);dataGrid.jqGrid("setGridHeight",gridHeight)}};setGridHeight();var setGridWidth=function(){var gridWidth=0;if(jqGridParent.is(":visible")){gridWidth=jqGridParent.width()-2}else{gridWidth=$(window).width()-24}dataGrid.jqGrid("setGridWidth",gridWidth,(options.shrinkToFit&&$(window).width()>500))};setGridWidth();if(Metronic.isIE8()){setTimeout(function(){setGridHeight();setGridWidth()},10)}if(options.showFooter){setTimeout(function(){$(".ui-jqgrid-bdiv>div").css({height:"auto"});$(".ui-jqgrid-bdiv").css({"padding-bottom":"24px"});$(".ui-jqgrid-sdiv").width($(".ui-jqgrid-sdiv").width()-12);$(".ui-jqgrid-sdiv").css({position:"absolute",bottom:"12px"});$(".ui-jqgrid-sdiv td").css({"border-bottom":"solid 1px #ddd"});$(".ui-jqgrid-ftable td").not("td.jqgrid-rownum").css({background:"#FFFFE7"});$(".frozen-sdiv.ui-jqgrid-sdiv").css({top:"auto","z-index":"1"});$(".frozen-sdiv td:eq(2)").html("&nbsp;合计:")},100)}}function isRoot(code){return !code||code==""||code=="0"}function getParam(paramName){return dataGrid.jqGrid("getGridParam",paramName)}function setParam(params){dataGrid.jqGrid("setGridParam",params);return self}function getRowData(id){return dataGrid.jqGrid("getRowData",id)
}function getSelectRow(){return getParam("selrow")}function getSelectRows(){return getParam("selarrrow")}function setSelectRow(id){if(id==undefined){dataGrid.jqGrid("resetSelection")}dataGrid.jqGrid("setSelection",id);return self}function refresh(pageNo,pageSize){if(pageNo){options.inputPageNo.val(pageNo)}if(pageSize){options.inputPageSize.val(pageSize)}var params={};if(options.inputPageNo.val()!=""){params.page=options.inputPageNo.val()}if(options.inputPageSize.val()!=""){params.rowNum=options.inputPageSize.val()}setParam(params);dataGrid.trigger("reloadGrid");return self}function delTreeNode(id){dataGrid.jqGrid("delTreeNode",id);return self}function expandTreeNode(level){loading();setTimeout(function(){dataGrid.expandLevel=level;dataGrid.currentLevel=1;dataGrid.expandNodeIds=[];$(".jqgrow:visible .tree-plus",dataGrid).each(function(){var id=$(this).parents(".jqgrow")[0].id;dataGrid.expandNodeIds.push(id)});if(dataGrid.expandNodeIds.length>100){showMessage("本次需要展开“"+dataGrid.expandNodeIds.length+"”个节点,因为展开节点过多,执行取消。");dataGrid.expandNodeIds=[]}else{$("#"+dataGrid.expandNodeIds.shift()+":visible .tree-plus",dataGrid).click()}for(var i=0;i<dataGrid.expandLevel;i++){$(".jqgrow:visible .tree-plus",dataGrid).click()}closeLoading()},10);return self}function collapseTreeNode(){loading();setTimeout(function(){$(".tree-minus",dataGrid).click();closeLoading()},10);return self}function refreshTree(expandLevel,parentCode){if(expandLevel){options.defaultExpandLevel=expandLevel}if(!isRoot(parentCode)){setParam({postData:{id:parentCode}})}else{if(parentCode!=undefined){options.defaultExpandLevel=options.initExpandLevel}}dataGrid.trigger("reloadGrid");return self}var self={jqGrid:function(m,v){return dataGrid.jqGrid(m,v)},setParam:function(params){return setParam(params)},getParam:function(paramName){return getParam(paramName)},getRowData:function(rowId){return getRowData(rowId)},getSelectRow:function(){return getSelectRow()},getSelectRows:function(){return getSelectRows()},setSelectRow:function(id){return setSelectRow(id)},refresh:function(pageNo,pageSize){return refresh(pageNo,pageSize)
},delTreeNode:function(id){return delTreeNode(id)},expandTreeNode:function(level){return expandTreeNode(level)},collapseTreeNode:function(){collapseTreeNode()},refreshTree:function(expandLevel,parentCode){return refreshTree(expandLevel,parentCode)},btnEventBind:function(elements){return btnEventBind(elements)}};return self};function page(c,a){try{dataGrid.refresh(c,a)}catch(b){}return false}$.extend($.jgrid,{stripHtml:function(a){a=String(a);return a.replace(/<[^>]*>/g,"")}});(function(a){a.jgrid.extend({setComplexHeaders:function(b){b=a.extend({complexHeaders:{defaultStyle:true,threeLevel:[],twoLevel:[]}},b||{});return this.each(function(){var l=b.complexHeaders,j=l.threeLevel,g=l.twoLevel;if(j.length===0||g.length===0){return}this.p.complexHeader=b;var K=this,p=l.defaultStyle===undefined?true:l.defaultStyle,G,E,n,J,k,d,F,x,M,u,c,C,r=0,H=0,A=false,B,v,w,f,y=K.p.colModel,D=y.length,t=K.grid.headers,h=a("table.ui-jqgrid-htable",K.grid.hDiv),m=h.children("thead").children("tr.ui-jqgrid-labels:last").addClass("jqg-second-row-header"),e=h.children("thead"),s,q,o=h.find(".jqg-first-row-header");if(o[0]===undefined){o=a("<tr>",{role:"row","aria-hidden":"true"}).addClass("jqg-first-row-header").css("height","auto")}else{o.empty()}var z,I=function(Q,O){var N=0,P=O.length;for(;N<P;N++){if(O[N]&&O[N].startColumnName===Q){return N}}return -1};a(K).prepend(e);n=a("<tr>",{role:"rowheader"}).addClass("ui-jqgrid-labels jqg-third-row-header");J=a("<tr>",{role:"rowheader"}).addClass("ui-jqgrid-labels jqg-four-row-header");for(G=0;G<D;G++){d=t[G].el;F=a(d);E=y[G];x={height:"0px",width:t[G].width+"px",display:(E.hidden?"none":"")};a("<th>",{role:"gridcell"}).css(x).addClass("ui-first-th-"+K.p.direction).appendTo(o);d.style.width="";c=I(E.name,j);if(c>=0){B=j[c];v=parseInt(B.numberOfColumns,10);w=B.titleText;for(f=0,M=0;M<v&&(G+M<D);M++){if(!y[G+M].hidden){f++}}k=a("<th>").attr({role:"columnheader",noWrap:true}).addClass("ui-state-default ui-th-column-header ui-th-"+K.p.direction).css({height:"22px","border-top":"0px none",overflow:"hidden"}).html(w);
if(f>0){k.attr("colspan",String(f))}if(K.p.headertitles){k.attr("title",k.text())}if(f===0){k.hide()}F.before(k);r=v;if(p===false){A=false;for(var L=0;L<r&&(L+G<D);L++){u=I(y[L+G].name,g);if(u>=0){B=g[u];v=parseInt(B.numberOfColumns,10);for(M=0;M<v&&(L+G+M<D);M++){if(!y[L+G+M].hidden){A=true;break}}if(A===true){break}}}}}C=I(E.name,g);if(r>0&&C>=0){B=g[C];v=parseInt(B.numberOfColumns,10);w=B.titleText;for(f=0,M=0;M<v&&(G+M<D);M++){if(!y[G+M].hidden){f++}}k=a("<th>").attr({role:"columnheader",noWrap:true}).addClass("ui-state-default ui-th-column-header ui-th-"+K.p.direction).css({height:"22px","border-top":"0px none",overflow:"hidden"}).html(w);if(f>0){k.attr("colspan",String(f))}if(K.p.headertitles){k.attr("title",k.text())}if(f===0){k.hide()}n.append(k);H=v}if(r===0){F.attr("rowspan","3");H=0;continue}if(r>0&&H===0){if(p){F.attr("rowspan","2");n.append(d)}else{if(A){F.attr("rowspan","2");n.append(d)}else{k.attr("rowspan","2");J.append(d)}}r--;continue}if(r>0&&H>0){J.append(d);r--;H--}}s=a(K).children("thead");s.prepend(o);n.insertAfter(m);J.insertAfter(n);h.append(s);h.find("span.ui-jqgrid-resize").each(function(){var i=a(this).parent();if(i.is(":visible")){this.style.cssText="height: "+(i.height())+"px !important; cursor: col-resize;"}});h.find("div.ui-jqgrid-sortable").each(function(){var i=a(this),N=i.parent();if(N.is(":visible")&&N.is(":has(span.ui-jqgrid-resize)")){i.css("top",(N.height()-i.outerHeight())/2+"px")}});z=s.find("tr.jqg-first-row-header");a(K).bind("jqGridResizeStop.setGroupHeaders",function(O,N,i){z.find("th").eq(i).width(N)})})},createFrozenHtable:function(e,g){var P=this[0],I=P.p.complexHeader,m=I.complexHeaders,q=m.defaultStyle,k=m.threeLevel,j=m.twoLevel,H=P.p.id,A=P.p.colModel,F=e+1,t=P.grid.headers,r=0,L=0,C=false,K,G,z,d,J,y,B,R,l,D,u,b,E,v,w,h,c=P.grid.fhDiv.height(),M=a("<table class='ui-jqgrid-htable' style='width:1px;height:"+c+"px' role='grid' aria-labelledby='gbox_"+H+"' cellspacing='0' cellpadding='0' border='0'></table>"),f=a("<thead></thead>"),p=a("<tr>",{role:"row","aria-hidden":"true"}).addClass("jqg-first-row-header").css("height","auto"),n=a("<tr>",{role:"rowheader"}).addClass("ui-jqgrid-labels jqg-second-row-header"),o=a("<tr>",{role:"rowheader"}).addClass("ui-jqgrid-labels jqg-third-row-header"),O=a("<tr>",{role:"rowheader"}).addClass("ui-jqgrid-labels jqg-four-row-header"),N=function(V,T){var S=0,U=T.length;
for(;S<U;S++){if(T[S]&&T[S].startColumnName===V){return S}}return -1};for(K=0;K<F;K++){G=A[K];y=G.name;J=a("#"+H+"_"+y,g);z={height:"0px",width:t[K].width+"px",display:(G.hidden?"none":"")};a("<th>",{role:"gridcell"}).css(z).addClass("ui-first-th-"+P.p.direction).appendTo(p);b=N(G.name,k);if(b>=0){D=k[b];v=parseInt(D.numberOfColumns,10);if(v+K-1>e){v=e-K+1}w=D.titleText;for(h=0,R=0;R<v&&(K+R<F);R++){if(!A[K+R].hidden){h++}}l=a("<th>").attr({role:"columnheader",noWrap:true}).addClass("ui-state-default ui-th-column-header ui-th-"+P.p.direction).css({height:"22px","border-top":"0px none",overflow:"hidden"}).html(w);if(h>0){l.attr("colspan",String(h))}if(P.p.headertitles){l.attr("title",l.text())}if(h===0){l.hide()}l.appendTo(n);r=v;if(q===false){C=false;for(var Q=0;Q<r&&(Q+K<F);Q++){u=N(A[Q+K].name,j);if(u>=0){D=j[u];v=parseInt(D.numberOfColumns,10);if(v+Q+K-1>e){v=e-(Q+K)+1}for(R=0;R<v&&(Q+K+R<F);R++){if(!A[Q+K+R].hidden){C=true;break}}}if(C===true){break}}}}E=N(G.name,j);if(r>0&&E>=0){D=j[E];v=parseInt(D.numberOfColumns,10);if(v+K-1>e){v=e-K+1}w=D.titleText;for(h=0,R=0;R<v&&(K+R<F);R++){if(!A[K+R].hidden){h++}}l=a("<th>").attr({role:"columnheader",noWrap:true}).addClass("ui-state-default ui-th-column-header ui-th-"+P.p.direction).css({height:"22px","border-top":"0px none",overflow:"hidden"}).html(w);if(h>0){l.attr("colspan",String(h))}if(P.p.headertitles){l.attr("title",l.text())}if(h===0){l.hide()}l.appendTo(o);L=v}if(r===0){J.attr("rowspan","3");J.appendTo(n);L=0;continue}if(r>0&&L===0){if(q){J.attr("rowspan","2");J.appendTo(o)}else{if(C){J.attr("rowspan","2");J.appendTo(o)}else{l.attr("rowspan","2");J.appendTo(O)}}r--;continue}if(r>0&&L>0){J.appendTo(O);r--;L--}}var x=o.children().length,s=O.children().length;if(x===0&&s===0){n.height(c)}if(q){if(x>0&&s===0){o.height(c-23)}}else{if(x===0&&s>0){n.height(c-23);n.find("th").each(function(){var i=a(this).attr("rowspan");if(i){a(this).attr("rowspan",String(parseInt(i,10)-1))}})}}p.appendTo(f);n.appendTo(f);x&&o.appendTo(f);s&&O.appendTo(f);f.appendTo(M);return M}})})(jQuery);
(function(a){a.jgrid=a.jgrid||{};a.extend(a.jgrid,{defaults:{recordtext:"{0} - {1}\u3000共 {2} 条",emptyrecords:"无数据显示",loadtext:"正在加载...",pgtext:" {0} 共 {1} 页"},search:{caption:"搜索...",Find:"查找",Reset:"重置",odata:[{oper:"eq",text:"等于\u3000\u3000"},{oper:"ne",text:"不等\u3000\u3000"},{oper:"lt",text:"小于\u3000\u3000"},{oper:"le",text:"小于等于"},{oper:"gt",text:"大于\u3000\u3000"},{oper:"ge",text:"大于等于"},{oper:"bw",text:"开始于"},{oper:"bn",text:"不开始于"},{oper:"in",text:"属于\u3000\u3000"},{oper:"ni",text:"不属于"},{oper:"ew",text:"结束于"},{oper:"en",text:"不结束于"},{oper:"cn",text:"包含\u3000\u3000"},{oper:"nc",text:"不包含"},{oper:"nu",text:"不存在"},{oper:"nn",text:"存在"}],groupOps:[{op:"AND",text:"所有"},{op:"OR",text:"任一"}],operandTitle:"Click to select search operation.",resetTitle:"Reset Search Value"},edit:{addCaption:"添加记录",editCaption:"编辑记录",bSubmit:"提交",bCancel:"取消",bClose:"关闭",saveData:"数据已改变,是否保存?",bYes:"是",bNo:"否",bExit:"取消",msg:{required:"此字段必需",number:"请输入有效数字",minValue:"输值必须大于等于 ",maxValue:"输值必须小于等于 ",email:"这不是有效的e-mail地址",integer:"请输入有效整数",date:"请输入有效时间",url:"无效网址。前缀必须为 ('http://' 或 'https://')",nodefined:" 未定义!",novalue:" 需要返回值!",customarray:"自定义函数需要返回数组!",customfcheck:"必须有自定义函数!"}},view:{caption:"查看记录",bClose:"关闭"},del:{caption:"删除",msg:"删除所选记录?",bSubmit:"删除",bCancel:"取消"},nav:{edittext:"",edittitle:"编辑所选记录",addtext:"",addtitle:"添加新记录",deltext:"",deltitle:"删除所选记录",searchtext:"",searchtitle:"查找",refreshtext:"",refreshtitle:"刷新表格",alertcap:"注意",alerttext:"请选择记录",viewtext:"",viewtitle:"查看所选记录"},col:{caption:"选择列",bSubmit:"确定",bCancel:"取消"},errors:{errcap:"错误",nourl:"没有设置url",norecords:"没有要处理的记录",model:"colNames 和 colModel 长度不等!"},formatter:{integer:{thousandsSeparator:",",defaultValue:"0"},number:{decimalSeparator:".",thousandsSeparator:",",decimalPlaces:2,defaultValue:"0.00"},currency:{decimalSeparator:".",thousandsSeparator:",",decimalPlaces:2,prefix:"",suffix:"",defaultValue:"0.00"},date:{dayNames:["日","一","二","三","四","五","六","星期日","星期一","星期二","星期三","星期四","星期五","星期六",],monthNames:["一","二","三","四","五","六","七","八","九","十","十一","十二","一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],AmPm:["am","pm","上午","下午"],S:function(b){return b<11||b>13?["st","nd","rd","th"][Math.min((b-1)%10,3)]:"th"
},srcformat:"Y-m-d",newformat:"Y-m-d",parseRe:/[#%\\\/:_;.,\t\s-]/,masks:{ISO8601Long:"Y-m-d H:i:s",ISO8601Short:"Y-m-d",ShortDate:"n/j/Y",LongDate:"l, F d, Y",FullDateTime:"l, F d, Y g:i:s A",MonthDay:"F d",ShortTime:"g:i A",LongTime:"g:i:s A",SortableDateTime:"Y-m-d\\TH:i:s",UniversalSortableDateTime:"Y-m-d H:i:sO",YearMonth:"F, Y"},reformatAfterEdit:false},baseLinkUrl:"",showAction:"",target:"",checkbox:{disabled:true},idName:"id"}})})(jQuery);