`
文章列表
// private fireKey : function(e) { if (e.isNavKeyPress() && !this.list.isVisible()) { this.fireEvent("specialkey", this, e); } }, // private onResize: function(w, h) { Ext.form.ComboBox.superclass.onR ...
// private initEvents : function() { Ext.form.ComboBox.superclass.initEvents.call(this); this.keyNav = new Ext.KeyNav(this.el, { "up" : function(e) { this.inKeyMode = true; this.selectPrev(); ...
initList : function() { if (!this.list) { var cls = 'x-combo-list'; this.list = new Ext.Layer({ shadow: this.shadow, cls: [cls, this.listClass].join(' '), constrain:false }); var lw = this.listWidth || M ...
// private onRender : function(ct, position) { Ext.form.ComboBox.superclass.onRender.call(this, ct, position); var disValue = ""; if (this.hiddenName) { this.hiddenField = this.el.insertSibling({tag:'input', t ...
Ext之扩展组件多选下拉框
long str = 0;             JSONArray jsonArray = new JSONArray();             Map mapArray = new HashMap();             List list = new ArrayList(); List result = resultResource.getLacs(); Iterator o = result.iterator();             while (o.hasNext())             {                 OcCsmCell ocCsmCel ...
var  m_sTime = new Date(startTime.getValue()).format('Y-m-d H:i:s');
var searchButton = new Ext.Button( { renderTo : 'businessUserQuery', text : "<span style='font-size:12px'>查询</span>", iconCls : 'addx', autoHeight : true, width : 60, bodyStyle : 'padding: 5px', handler : function() { //标志位,查找到第一个,就退出遍历     var flag = 0;     ...
动态加载tree(三层)
简洁的动态加载tree,
见以下文件。 我处理的方式是把对象拼接成json 对象来动态加载树的
else                 {                     //根据用户id,位置区查询所有的小区                     List<AcceptCI> listCi = businessService.queryAllCIByAccountIdAndAcceptLai(1, list.get(i));                     strLac.append("{id:'" + (idFlag++) + "',text:'" + parent + "',checked:false& ...
// 根据用户id查询出不同的位置区             List<String> list = businessService.queryAllCIByAccountId(1);             StringBuffer strLac = new StringBuffer();             strLac.append("[");             int idFlag = 1;             for (int i = 0; i < list.size(); i++)             {             ...
List<AcceptOpc> list = businessService.queryAllOpcByAccountId(1);             StringBuffer strOpc = new StringBuffer();             strOpc.append("[{id:'qx',text: '全选',leaf: true,checked: false},");             for (int i = 0; i < list.size(); i++)             {                 Acc ...
ext.ux.util.clone = function(o) {    if(!o || 'object' !== typeof o) {        return o;    }    if('function' === typeof o.clone) {        return o.clone();    }    var c = '[object array]' === object.prototype.tostring.call(o) ? [] : {};    var p, v;    for(p in o) {        if(o.hasownproperty(p)) { ...
Global site tag (gtag.js) - Google Analytics