
ext3.x
iteye_19137
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ext form 表单提交数据的方法小结
EXT的form表单ajax提交(默认提交方式) [code="js"] function login(item) { if (validatorForm()) { // 登录时将登录按钮设为disabled,防止重复提交 this.disabled = true; // 第一个参数可以为submit和load formPanl.form.doAc...原创 2009-10-21 22:13:50 · 362 阅读 · 0 评论 -
PagingToolbar 扩展
[code="js"] Ext.namespace('Ext.ux.PagingToolbarEx'); Ext.ux.PagingToolbarEx = Ext.extend(Ext.PagingToolbar, { space : ' ', beforePageText : '', afterPageText : '', randomI...原创 2009-07-18 13:52:40 · 148 阅读 · 0 评论 -
PagingToolbar PageSizePlugin
[code="js"] /** * Page Size Plugin for Paging Toolbar * * @author wjc */ Ext.ux.PageSizePlugin = Ext.extend(Ext.form.ComboBox, { store: new Ext.data.SimpleStore({ f...2009-07-18 14:10:44 · 146 阅读 · 0 评论 -
SearchField
[code="js"] /* * Ext JS Library 2.1 * Copyright(c) 2006-2008, Ext JS, LLC. * [email protected] * * http://extjs.com/license */ Ext.app.SearchField = Ext.extend(Ext.form.TwinTriggerF...原创 2009-07-18 19:14:16 · 703 阅读 · 0 评论 -
ComboBoxTree
参考别人的改的 [code="js"] Ext.namespace("Ext.ux.form"); /** * create by wjc */ Ext.ux.form.ComboBoxTree = Ext.extend(Ext.form.ComboBox, { treeId : Ext.id()+'-tree', maxHeight :300, selectedC...2009-07-25 22:34:49 · 100 阅读 · 0 评论 -
解决Extjs文件太大的问题
在使用Extjs过程中,ext-all.js文件太大,在网络环境不太好的时候,打开页面非常慢。为了解决网络传输时的大小,将采用gzip压缩传输。具体配置如下。 1、使用ehcache做gzip压缩。下载ehcache相关的jar包。 2、在web.xml中增加如下过滤器。 GZIPFilter net.sf.ehcache.constructs....原创 2009-09-24 10:09:25 · 543 阅读 · 0 评论 -
EXTjs 文件压缩
之前曾使用过的办法有gzip(我记性不是很好,就是放在IIS中用以压缩页面代码的工具,具体名字记得不是很清楚,如果您比较清楚,请指正,互相学习)、和YUIcompressor等压缩js代码工具。 请进这个页面 http://mootools.net/download 下载那个 YUI Compressor 了吗,才65K 下来后发现 文件夹里面: build-+ ...原创 2009-09-24 21:08:49 · 180 阅读 · 0 评论 -
ext例子
http://www.myext.cn/原创 2009-10-10 09:37:14 · 79 阅读 · 0 评论 -
封装Ext tree 扩展功能
扩展的功能有: 1. 搜索过滤树节点(保留结构) 2. 任意指定范围的屏蔽罩 3. 多个树实例的 同步加载时的屏蔽罩,例如拖拽的时候,同步更新数据是个必须的功能。 4. 具有完整的封装及可扩展性。 [code="js"] /** * * @param {} conf * @param {} url * * @extend isE...原创 2009-10-13 11:31:22 · 92 阅读 · 0 评论 -
一个扩展的 GridPanel
分页后可保存checkbox的选择状态。 [code="js"] /** * 封装的grid * 功能:分页后仍保持选中状态 * 约定:root为list, totalProperty为total, grid的第一列必须为id */ Ext.namespace('Ext.ux.grid'); Ext.ux.grid.MyGrid = Ext....原创 2009-07-14 14:43:11 · 114 阅读 · 0 评论 -
ext 简易上传控件
[code="js"] //*****************************************上传的公共js***************************************************************// /** * 约定:types为调用时传来的参数.形式为jsp-gig-png * uploadid为上传后要填...原创 2009-07-14 14:39:34 · 165 阅读 · 0 评论 -
extJs之下拉框联动
[code="js"] // 第一个下拉框 var parentStore = new Ext.data.Store({ proxy: new Ext.data.HttpProxy({ url: 'loadByParentid.action?parentid=1001' }), reader: new Ext.data.JsonReader({ root: ...原创 2009-07-14 14:37:17 · 128 阅读 · 0 评论 -
ext logon
[code="html"] 供应商服务系统 V1.0 [/code] [code="js"] Ext.onReady(function(){ Ext.QuickTips.init(); Ext.form.Field.prototype.msg...原创 2009-10-21 23:15:06 · 112 阅读 · 0 评论 -
ext+dwr DynamicGridPanel 封装 态创建ext grid
封装一个动态grid 继承Ext.grid.GridPanel 1.一般只需定义gridcolumns属性即可动态生成grid ,支持各列renderer自定义, 支持store自定义. 其中默认的store,用的是dwrproxy,dwr函数前三个默认参数为(qname,start,pagesize)其他参数在这三个参数之后, 通过DWRfuncParams属性传入。 2.需dwr。 ...原创 2009-07-06 16:55:23 · 169 阅读 · 0 评论 -
ext3.0 ext direct
具体的工程步骤: 首先,我们来搭建WEB服务端的程序: 这时,我们需要下载一个JAR。名为extdirect4j-0[1].3.1-source.jar,目前是最新版吧。因为这个包用到GG一些办法,那么,我们还需要下载gson-1.3.jar。 接下来,这些写一个继承ExtDirectRouter的类,如下面: [code="java"] package com; impo...原创 2009-07-11 11:14:43 · 146 阅读 · 0 评论 -
spket Eclipse 安装
spket最好用了,而且它还支持ext,安装起来很简单..... 1、选择Help -> Software Updates -> Find and Install...-> Search for new features to install ->New remote site... Name: "Spket", Url: "http://www.spket.com/update/"下...2009-07-11 12:40:08 · 85 阅读 · 0 评论 -
ext3.0 dwrproxy 兼容2.x dwrproxy用法
经测试 可以用,并且做了修改可以兼容以前的代码格式 [code="js"] Ext.namespace("Ext.ux.data"); /** * @class Ext.ux.data.DwrProxy * @extends Ext.data.DataProxy * @author loeppky * An implementation of Ext.data.Data...2009-07-12 21:02:30 · 98 阅读 · 0 评论 -
EXT 一个panel与tree结合读数据库json格式的例子
[code="js"] var Tree = Ext.tree; Ext.onReady(function(){ var vport=new Ext.Viewport( { enableTabScroll:true, layout:"border", items:[ { title:"导航菜单...原创 2009-07-13 13:37:31 · 128 阅读 · 0 评论 -
ext treePanel 更换图标 总结
1.动态更换图标: 代码 [code="js"] node.on('click',function(node){ node.getUI().getIconEl().src = 'img/1.gif'; }); [/code] 2.覆写 Ext.tree.TreeLoader 的 createNode [code="js"] Ext.tree.MyTreeLoader = ...2009-07-14 14:33:11 · 534 阅读 · 0 评论 -
combtree
[code="js"] var comboxWithTree = new Ext.form.ComboBox({ store:new Ext.data.SimpleStore({fields:[],data:[[]]}), editable:false, shadow:false, mode: 'local', triggerAction:'all', max...原创 2009-07-14 14:34:47 · 128 阅读 · 0 评论 -
extjs grid设置某行字体颜色 行颜色
[code="css"] .x-grid-record-red table{//字体色 color: #FF0000; } .x-grid-record-green table{ //背景色 background: #00FF00;; } [/code] [code="js"] viewConfig : { forceFit : true, ...原创 2010-05-19 21:42:12 · 600 阅读 · 0 评论