本月博客排行
-
第1名
wy_19921005 -
第2名
mft8899 -
第3名
java-007 - Anmin
年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
benladeng5225 - wy_19921005
- vipbooks
- 青否云后端云
- kaizi1992
- e_e
- tanling8334
- sam123456gz
- arpenker
- zysnba
- fantaxy025025
- xiangjie88
- wallimn
- lemonhandsome
- jh108020
- ganxueyun
- Xeden
- xyuma
- zhanjia
- wangchen.ily
- johnsmith9th
- zxq_2017
- forestqqqq
- jbosscn
- daizj
- ajinn
- xpenxpen
- 喧嚣求静
- kingwell.leng
- lchb139128
- kristy_yy
- jveqi
- javashop
- lzyfn123
- sunj
- yeluowuhen
- lerf
- silverend
- chenqisdfx
- xiaoxinye
- flashsing123
- bosschen
- lyndon.lin
- zhangjijun
- sunnylocus
- lyj86
- paulwong
- sgqt
最新文章列表
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"& ...