锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产精品99精品久久免费,2021国产精品久久精品,大伊人狠狠躁夜夜躁av一区http://www.aygfsteel.com/atian25/category/40558.html涓撴敞浜嶢S3/JAVAzh-cnWed, 01 Jul 2009 05:12:14 GMTWed, 01 Jul 2009 05:12:14 GMT60- [鍘熷垱]Extjs 3.0 Chart 灝忕敤涓涓?/title>http://www.aygfsteel.com/atian25/articles/ExtJS_Chart.html涔句負澶﹟澶╃尓涔句負澶﹟澶╃尓Wed, 01 Jul 2009 02:28:00 GMThttp://www.aygfsteel.com/atian25/articles/ExtJS_Chart.htmlhttp://www.aygfsteel.com/atian25/comments/284891.htmlhttp://www.aygfsteel.com/atian25/articles/ExtJS_Chart.html#Feedback0http://www.aygfsteel.com/atian25/comments/commentRss/284891.htmlhttp://www.aygfsteel.com/atian25/services/trackbacks/284891.html闃呰鍏ㄦ枃

]]> - [鍘熷垱]EXTJS鍙屽嚮TabPanel鏍囩鍏抽棴璇ラ〉http://www.aygfsteel.com/atian25/articles/284888.html涔句負澶﹟澶╃尓涔句負澶﹟澶╃尓Wed, 01 Jul 2009 02:23:00 GMThttp://www.aygfsteel.com/atian25/articles/284888.htmlhttp://www.aygfsteel.com/atian25/comments/284888.htmlhttp://www.aygfsteel.com/atian25/articles/284888.html#Feedback0http://www.aygfsteel.com/atian25/comments/commentRss/284888.htmlhttp://www.aygfsteel.com/atian25/services/trackbacks/284888.html 1 var tabs = new Ext.TabPanel({
2 renderTo: 'tabs1',
3 width:450,
4 activeTab: 0,
5 frame:true,
6 defaults:{autoHeight: true},
7 items:[
8 {contentEl:'script', title: 'Short Text'},
9 {contentEl:'markup', title: 'Long Text'}
10 ],
11 initEvents : function(){
12 Ext.TabPanel.superclass.initEvents.call(this);
13 this.on('add', this.onAdd, this, {target: this});
14 this.on('remove', this.onRemove, this, {target: this});
15 this.mon(this.strip, 'mousedown', this.onStripMouseDown, this);
16 this.mon(this.strip, 'contextmenu', this.onStripContextMenu, this);
17 if(this.enableTabScroll){
18 this.mon(this.strip, 'mousewheel', this.onWheel, this);
19 }
20 //ADD:monitor title dbclick
21 this.mon(this.strip,'dblclick',this.onTitleDbClick,this);
22 },
23 //ADD: handler
24 onTitleDbClick:function(e,target,o){
25 var t = this.findTargets(e);
26 if (t.item.fireEvent('beforeclose', t.item) !== false) {
27 t.item.fireEvent('close', t.item);
28 this.remove(t.item);
29 }
30 }
31 });

]]> - [鍘熷垱]ExtJS Grid 鑷畾涔夋帓搴忚鍒?/title>http://www.aygfsteel.com/atian25/articles/ExtJS_Grid_CustomSort.html涔句負澶﹟澶╃尓涔句負澶﹟澶╃尓Wed, 01 Jul 2009 02:20:00 GMThttp://www.aygfsteel.com/atian25/articles/ExtJS_Grid_CustomSort.htmlhttp://www.aygfsteel.com/atian25/comments/284886.htmlhttp://www.aygfsteel.com/atian25/articles/ExtJS_Grid_CustomSort.html#Feedback0http://www.aygfsteel.com/atian25/comments/commentRss/284886.htmlhttp://www.aygfsteel.com/atian25/services/trackbacks/284886.html鏈変竴浜涢渶姹傚:
1.涓涓枃浠剁鐞嗙殑Grid,瑕佹眰鎺掑簭鐨勬椂鍊?鏂囦歡澶規案榪滃湪欏墮儴
2.涓涓樉紺烘垚鍔熺巼鐨凣rid,瑕佹眰鎴愬姛鏁?澶辮觸鏁?0鐨勬暟鎹?涓嶅弬涓庢帓搴?姘歌繙鍦ㄥ簳閮?/p>
ExtJs鏈韓騫舵病鏈夋毚闇茶繖涓帴鍙?鎵浠ユ垜浠彧鑳借嚜宸遍噸鍐?濡備笅浠g爜:
1 var store = new Ext.data.JsonStore({
2 root:'data',
3 fields:[
4 'name',
5 {name:'sucCount',type:'int'},
6 {name:'failCount',type:'int'},
7 {name:'sucRate',type:'float'},
8 {name:'isValidateTest',type:'boolean'},
9 {name:'statType',type:'int'},
10 'testLogIds','bsc','msc','sgsn'
11 ],
12 sortInfo:{field: 'sucRate', direction: 'ASC'},
13 //鎺掑簭瑙勫垯
14 sortData:function(f, direction){
15 direction = direction || 'ASC';
16 var dir = direction == 'ASC' ? 1 : -1;
17 var st = this.fields.get(f).sortType;
18 //鍏抽敭鍦版柟,閲嶅啓鎺掑簭鎺掑簭瑙勫垯
19 var fn = function(r1, r2){
20 if(!r1.get('isValidateTest')||!r2.get('isValidateTest')){
21 //鏃犳晥鏁版嵁姘歌繙鍦ㄤ笅闈?nbsp;
22 return !r1.get('isValidateTest') ? dir : -dir;
23 }else{
24 var v1 = st(r1.data[f]), v2 = st(r2.data[f]);
25 return v1 > v2 ? 1 : (v1 < v2 ? -1 : 0);
26 }
27 };
28 this.data.sort(direction, fn);
29 if(this.snapshot && this.snapshot != this.data){
30 this.snapshot.sort(direction, fn);
31 }
32 }
33 });

]]>
主站蜘蛛池模板:
丹阳市|
鹤壁市|
宁安市|
社会|
九台市|
凤凰县|
从江县|
凯里市|
河津市|
和硕县|
平武县|
葫芦岛市|
庄浪县|
芦山县|
黎城县|
隆昌县|
新河县|
崇仁县|
都安|
安平县|
安仁县|
黄陵县|
芮城县|
漳平市|
长葛市|
苍溪县|
大竹县|
和硕县|
和静县|
顺义区|
航空|
青铜峡市|
汉沽区|
红桥区|
合作市|
孝感市|
霍邱县|
哈尔滨市|
兰西县|
高雄市|
台江县|