随笔分类 -  EXTJS

摘要:items:[ {xtype:'hidden',name:this.formPre+'id'}, /*{ xtype : 'checkbox', boxLabel : '是否同步到目标平台', name : 'synchronize', hidden : tr... 阅读全文
posted @ 2011-08-03 19:54 飞扬的薰衣草 阅读(149) 评论(0) 推荐(0)
摘要:在gridpanel中写这个函数,调用myformapanel的函数laoddata即可.页面加载完,form显示gridpanel中的第一行数据信息 this.store.on('load', function (store) { //这个函数会在数据加载完后触发 if(store.da... 阅读全文
posted @ 2011-07-22 16:28 飞扬的薰衣草 阅读(463) 评论(0) 推荐(0)
摘要:先上来:advancedTree01.json文件的的内容[ { "text":"卡卡西班", "id":"01", "allowDrag":false, "des":"最强的组合!", "children":[ {"text":"小樱","id":"0101","allowDrag":false,... 阅读全文
posted @ 2011-07-21 14:01 飞扬的薰衣草 阅读(294) 评论(0) 推荐(0)
摘要:Ext.onReady(function(){ var form=new Ext.form.FormPanel({ title:'combox扩展实例', width:500, height:400, frame:true, items:[ { fieldLabel:'胸章', ... 阅读全文
posted @ 2011-07-15 11:29 飞扬的薰衣草 阅读(475) 评论(0) 推荐(0)
摘要:Ext.onReady(function(){ Ext.QuickTips.init(); var adminRadio=new Ext.form.Radio({ boxLabel:'管理员', inputValue:'admin', listeners:{ 'check':functio... 阅读全文
posted @ 2011-07-14 18:54 飞扬的薰衣草 阅读(235) 评论(0) 推荐(0)
摘要:轻松搞定 ExtJS http://download.csdn.net/source/1801086 ExtJS实例 一个非常不错的学习Ext的源码 http://download.csdn.net/source/1736603 ExtJS项目 一个博客系统 http://download.csdn... 阅读全文
posted @ 2011-07-14 17:08 飞扬的薰衣草 阅读(463) 评论(0) 推荐(0)
摘要:Ext.onReady(function(){var tree=new Ext.tree.TreePanel({ id: 'tree-mianban', title : '树', region : 'west', animate : true, enableDD : true, containerS... 阅读全文
posted @ 2011-07-14 15:48 飞扬的薰衣草 阅读(651) 评论(0) 推荐(0)
摘要://设置树的点击事件function treeClick(node,e) { if(node.isLeaf()){ e.stopEvent(); var n = tab.getComponent(node.id); if (!n) { var n = tab.add({ 'id' ... 阅读全文
posted @ 2011-07-14 10:54 飞扬的薰衣草 阅读(128) 评论(0) 推荐(0)