[随笔分类]Extjs
jiangnet
这个作者很懒,什么都没留下…
展开
-
struts2 的 json 格式化
struts2 的 json 格式化 普通属性 格式化成键值对。map 格式化成单个对象,list 格式化成对象数组。int totalCount=100; 格式化成 "totalCount":100 Map total = new HashMap(); total.put("totalCount", ...2008-10-27 10:46:00 · 111 阅读 · 0 评论 -
ext 布局
border 布局这是一个多单元格,面向应用UI的布局样式,在区域范围内自动断开和填充。border 布局没有任何直接的属性除了继承的。border 配合 region 使用,用border 布局而没有 region 报错。border 布局 元素不会撑开容器,只会自动填满容器。table 布局table 布局使你方便的呈现html表格。可以指定总共多少列。 并且rowspan、...2008-10-29 14:49:00 · 98 阅读 · 0 评论 -
applyTo ,render, contentel,el,applytomarkup 的区别
applyTo: The id of the node, a DOM node or an existing Element corresponding to a DIV that is already present in the document that specifies some structural markup for this component. When applyTo i...2008-11-07 00:58:00 · 184 阅读 · 0 评论 -
Xtemplate 的使用
Xtemplate 知识点 :迭代:<tpl for="kids">对 kids 迭代分支<tpl if="age &lt; 18">占位符{variable}<p>name:{name}</p>表达式 在[ ]中的代码被认为是表达式 在[ ] 中可以使用下列变量* values: 当前对象的引用,通过这个对象你可以2008-11-29 17:33:00 · 215 阅读 · 0 评论 -
gridpanel中拖拽排序
<!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--> // 定义拖动时样式 functio...2008-12-23 14:54:00 · 306 阅读 · 0 评论 -
basicform 与 store
今天做文章搜索 想都没想直接用了个form,后来发现不对了。我得把Store reload阿,用 form 有什么用啊。把 store.baseParams 的值设置好 reload 就行。不过有很多参数要加上去阿。要是form 可以把所有的表单字段的键 值的集合拿到就好了。一看API basicform 还真有这个函数。store.baseParams= form.getValues();...2008-12-24 17:42:00 · 165 阅读 · 0 评论