classes/artifacts/xq_war_exploded/resources/admin/easyui/easyui/1.3.4/plugins/jquery.propertygrid.js

(开头部分) 6KB

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

/**
 * jQuery EasyUI 1.3.4
 * 
 * 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;
function _2(_3){
var _4=$.data(_3,"propertygrid");
var _5=$.data(_3,"propertygrid").options;
$(_3).datagrid($.extend({},_5,{cls:"propertygrid",view:(_5.showGroup?_6:undefined),onClickRow:function(_7,_8){
if(_1!=this){
_c(_1);
_1=this;
}
if(_5.editIndex!=_7&&_8.editor){
var _9=$(this).datagrid("getColumnOption","value");
_9.editor=_8.editor;
_c(_1);
$(this).datagrid("beginEdit",_7);
$(this).datagrid("getEditors",_7)[0].target.focus();
_5.editIndex=_7;
}
_5.onClickRow.call(_3,_7,_8);
},loadFilter:function(_a){
_c(this);
return _5.loadFilter.call(this,_a);
},onLoadSuccess:function(_b){
$(_3).datagrid("getPanel").find("div.datagrid-group").attr("style","");
_5.onLoadSuccess.call(_3,_b);
}}));
$(document).unbind(".propertygrid").bind("mousedown.propertygrid",function(e){
var p=$(e.target).closest("div.datagrid-view,div.combo-panel");
if(p.length){
return;
}
_c(_1);
_1=undefined;
});
};
function _c(_d){
var t=$(_d);
if(!t.length){
return;
}
var _e=$.data(_d,"propertygrid").options;
var _f=_e.editIndex;
if(_f==undefined){
return;
}
var ed=t.datagrid("getEditors",_f)[0];
if(ed){
ed.target.blur();
if(t.datagrid("validateRow",_f)){
后面还有 165 行代码,购买后查看完整代码

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

AI 解读

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

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