Web/easyui/plugins/jquery.datagrid.js
(开头部分) 48KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/**
* jQuery EasyUI 1.2.3
*
* Licensed under the GPL terms
* To use it on other terms please contact us
*
* Copyright(c) 2009-2011 stworthy [ stworthy@gmail.com ]
*
*/
(function($){
$.extend(Array.prototype,{indexOf:function(o){
for(var i=0,_1=this.length;i<_1;i++){
if(this[i]==o){
return i;
}
}
return -1;
},remove:function(o){
var _2=this.indexOf(o);
if(_2!=-1){
this.splice(_2,1);
}
return this;
},removeById:function(_3,id){
for(var i=0,_4=this.length;i<_4;i++){
if(this[i][_3]==id){
this.splice(i,1);
return this;
}
}
return this;
}});
function _5(_6,_7){
var _8=$.data(_6,"datagrid").options;
var _9=$.data(_6,"datagrid").panel;
if(_7){
if(_7.width){
_8.width=_7.width;
}
if(_7.height){
_8.height=_7.height;
}
}
if(_8.fit==true){
var p=_9.panel("panel").parent();
_8.width=p.width();
_8.height=p.height();
}
_9.panel("resize",{width:_8.width,height:_8.height});
};
function _a(_b){
var _c=$.data(_b,"datagrid").options;
var _d=$.data(_b,"datagrid").panel;
var _e=_d.width();
var _f=_d.height();
var _10=_d.children("div.datagrid-view");
var _11=_10.children("div.datagrid-view1");
var _12=_10.children("div.datagrid-view2");
var _13=_11.children("div.datagrid-header");
var _14=_12.children("div.datagrid-header");
后面还有 1697 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
