WebContent/jquery-easyui-1.3.3/plugins/jquery.datagrid.js

(开头部分) 55KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/**
 * jQuery EasyUI 1.3.3
 * 
 * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved.
 *
 * Licensed under the GPL or commercial licenses
 * To use it on other terms please contact us: info@jeasyui.com
 * http://www.gnu.org/licenses/gpl.txt
 * http://www.jeasyui.com/license_commercial.php
 *
 */
(function($){
var _1=0;
function _2(a,o){
for(var i=0,_3=a.length;i<_3;i++){
if(a[i]==o){
return i;
}
}
return -1;
};
function _4(a,o,id){
if(typeof o=="string"){
for(var i=0,_5=a.length;i<_5;i++){
if(a[i][o]==id){
a.splice(i,1);
return;
}
}
}else{
var _6=_2(a,o);
if(_6!=-1){
a.splice(_6,1);
}
}
};
function _7(a,o,r){
for(var i=0,_8=a.length;i<_8;i++){
if(a[i][o]==r[o]){
return;
}
}
a.push(r);
};
function _9(_a){
var cc=_a||$("head");
var _b=$.data(cc[0],"ss");
if(!_b){
_b=$.data(cc[0],"ss",{cache:{},dirty:[]});
}
return {add:function(_c){
var ss=["<style type=\"text/css\">"];
for(var i=0;i<_c.length;i++){
_b.cache[_c[i][0]]={width:_c[i][1]};
}
var _d=0;
for(var s in _b.cache){
var _e=_b.cache[s];
_e.index=_d++;
ss.push(s+"{width:"+_e.width+"}");
后面还有 2111 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。