`
pandong8183
  • 浏览: 56197 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论
文章列表
.content img{ width:expression(this.width >730 ? 730 : true); }  
typeInfoForm.getForm().submit({ url : '/manage/TypeInfoManageAction.do', method : 'post', params:{ flag:'save', parentId:typeInfo.parentId }, waitMsg : '正在发送数据,请稍后...', success : function(form, action) { store.load({params : {start : 0,limit : 10}}); win.close(); }, failure ...
var win = new Ext.Window(); win.setAnimateTarget(target);//动画效果 win.show();   target为从哪里弹出的对象ID

Ext两层以上的tbar

首先你的grid已经设置了一个tbar,然后可以在初始化完毕的时候再添加一个tbar listeners : { render : function(trid, rowIndex,e) { var tbar = new Ext.Toolbar({ items : [{text : 'bbar Left'}, '-', {text : 'bbar Right'}] }); tbar.render(grid.tbar); } }  
var combox = new Ext.form.ComboBox({ id:'likeName', store: comboxStore, displayField:'likeName', //显示的值 valueField:'likeType', //提交的值 hiddenName:'likeType', //提交的值 typeAhead: true, width:120, mode: 'local', //本地信息 forceSelection: true, trig ...
{ fieldLabel: '品牌网址', xtype:'textfield', name: 'brand.brandHttp', width:'300px', invalidText:'品牌网址不正确,必须以http://开头!', validator:function(){ var brandHttp = this.getValue(); ...
var TypeInfoForm = Ext.getCmp("TypeInfoForm"); TypeInfoForm.getForm().load({ url:"/manage/TypeInfoManageServlet?flag=getById&typeId="+typeId, waitMsg:'正在读取数据...', success:function(){ //正确读取完数据后,再初始化对应下拉列表 var count = typeInfoListStore.getCount(); var ...
假设typeInfoListStore是一个store对象,该代码段可用于下拉列表的初始化值 var count = typeInfoListStore.getCount();//读取数据集数量 var parentId = Ext.getCmp("parentIdHidden").getValue();//读取parentIdHidden对象的值 for(var i = 0 ; i < count ; i++){ var typeInfo = typeInfoListStore.getAt(i).data;//根据下标读取数据集中的j ...
Ext.MessageBox.show({ width:300, title : '提示', msg : '没有选择任何数据,不能删除!', buttons : Ext.MessageBox.OK, animEl : 'btn_file_delete',//该对话框从id为btn_file_delete的对象上弹出 icon : Ext.MessageBox.WARNING });   animEl : 'btn_file_delete' 此句是弹出动画的关键
Global site tag (gtag.js) - Google Analytics