本月博客排行
年度博客排行
-
第1名
青否云后端云 -
第2名
zw7534313 -
第3名
大家都说我很棒 - liyihz2008
- wy_19921005
- gengyun12
- hbxflihua
- e_e
- luxurioust
- dbagirl
- zysnba
- robotmen
- Alsmile
- gaozzsoft
- jywhltj
- cpongo1
- leslie26
- qepwqnp
- 解宜然
- gashero
- sichunli_030
- cuityang
- fantaxy025025
- vipbooks
- wallimn
- gdpglc
- ssydxa219
- javashop
- ranbuijj
- jickcai
- hanbaohong
- johnsmith9th
- appalese
- gaojingsong
- weiyides
- 淡看人生
- java-007
- zhangyi0618
- AVI
- laiyangdeli
- liunancun
- xpenxpen
- zhangdaiscott
- 龙哥IT
- nychen2000
- conkeyn
- ouanui
- lemonhandsome
- silverend
- jveqi
最新文章列表
Extjs,通过过滤store来更改grid列的显示值
监听store的加载事件,在其加载后判定store 里的数据 不符合条件,处理逻辑,符合条件 返回true,将修改后的store返回,返回前必须commit(),不然无法清除grid列的小三角!
load : function(wrwpfZdyGrids,record){ //监听store的加载事件
wrwpfZdyGrids.filterBy(function(record, ...
动态构建grid
本代码可重用,在工作中我经常使用。
//定义grid的复选框
var sm = new Ext.grid.CheckboxSelectionModel();
//这里可以根据条件设置是否可选,当然不需要可以不用监听此事件 sm.on('beforerowselect',function(SelectionModel, rowIndex, keepExisting,record){ ...
extjs grid 拖拽
功能需求:grid 拖拽
google了几篇,发现没有合适的资料,而且发现很多都是乱转载的,坑死人呀,还是决定自己研究下,去官网api搜索到 Ext.grid.plugin.DragDrop ptype:gridviewdragdrop ,没错这就是官方提供的grid插件。
猛读了一阵会发现2个单词比较显眼 drag 和 drop, 个人理解为:drag -- 托,drop -- 放,因为发现 ...
ExtJS的Grid中的文本如何能够选择并复制到剪贴板
参考自 http://www.sencha.com/learn/grid-faq,
How to select text in the grid (with the mouse) so that it can be copied to the clipboard
First, add an extra CSS rule:
<style type="text/css"& ...