锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲av无码久久忘忧草,亚洲国产亚洲综合在线尤物,亚洲乱码中文字幕综合 http://m.tkk7.com/liu0909/category/41260.html瀛︿範(fàn),姘告棤姝㈠....... zh-cn Thu, 27 Aug 2009 00:34:08 GMT Thu, 27 Aug 2009 00:34:08 GMT 60 銆怑xt銆慓rid灝忛棶棰樿В鍐?涓嶆柇澧炲姞涓? http://m.tkk7.com/liu0909/articles/292563.html鎵竼鍑烘搗 鎵竼鍑烘搗 Tue, 25 Aug 2009 12:59:00 GMT http://m.tkk7.com/liu0909/articles/292563.html http://m.tkk7.com/liu0909/comments/292563.html http://m.tkk7.com/liu0909/articles/292563.html#Feedback 0 http://m.tkk7.com/liu0909/comments/commentRss/292563.html http://m.tkk7.com/liu0909/services/trackbacks/292563.html
鐜板湪鐨勯」鐩嬌鐢‥xt2鍋氱晫闈㈠竷灞浠ュ強(qiáng)琛ㄦ牸灞曠ず錛屽叾涓亣鍒扮殑灝忛棶棰樺強(qiáng)鍏惰В鍐蟲(chóng)柟娉曡褰曚笅鏉ワ紝浠ヤ究澶у涓璧峰涔?fàn)銆?br />
1銆丟rid婊氬姩鏉?/font>
Grid涓嶆樉紺烘按騫蟲(chóng)粴鍔ㄦ潯鐨勫姙娉曪細(xì)
鍦╣rid鍒涘緩涔嬪悗錛屾垨grid閲嶆柊鍔ㄦ侀厤緗箣鍚庯紝鍔犲叆涓嬮潰涓よ浠g爜鍗沖彲
this.grid.getView().mainBody.dom.style.width = this.grid.getView().getTotalWidth();
this.grid.getView().mainBody.dom.style.height = '1px';
娉細(xì)this.grid涓哄垱寤虹殑grid
鎺у埗婊氬姩鏉′綅緗?/strong>
grid.getSelectionModel().selectFirstRow();
grid.getSelectionModel().selectLastRow() ;
grid.getView().focusRow(grid.getStore().getCount()-1);
Ext GridPanel 鐨勯粯璁ゆ牱寮忕殑鍗曞厓鏍兼病鏈夋樉紺虹珫綰匡紝鑻ヨ鏄劇ず鍙湪欏甸潰涓姞鍏ヤ互涓婥SS鏍峰紡錛?/p>
< style type = “text/css” >
.x-grid3-cell-inner {
border-right : 1px solid #eceff6 ;
}
</ style >
鐒跺悗鍙戠幇绔栫嚎涓庤〃澶存病鏈夊榻愶紝鏈変竴涓儚绱犵殑璇樊錛屽啀鍔犲叆鏍峰紡錛屼唬鐮佸氨鎴愪簡(jiǎn)榪欐牱錛?/p>
< style type = “text/css” >
/*鏄劇ず绔栫嚎*/
.x-grid3-cell-inner {
border-right : 1px solid #eceff6 ;
}
/*涓庤〃澶村榻?/
.x-grid3-row td , .x-grid3-summary-row td {
padding-right : 0px ;
}
</ style >
鎺ョ潃鍙戠幇琛岄棿鏈変竴涓儚绱犵殑闂撮殧錛屽啀鏀瑰惂錛屼唬鐮佸涓嬶細(xì)
< style type = “text/css” >
/*鏄劇ず绔栫嚎*/
.x-grid3-cell-inner {
border-right : 1px solid #eceff6 ;
}
/*涓庤〃澶村榻?/
.x-grid3-row td , .x-grid3-summary-row td {
padding-right : 0px ;
}
/*鍘繪帀琛岄棿絀虹櫧*/
.x-grid3-row {
border-top-width : 0px ;
border-bottom-width : 0px ;
}
</ style >
浠ュ悗浼?xì)鎶婇亣鍒扮殑闂鍙?qiáng)鍏惰В鍐蟲(chóng)柟娉曠戶緇坊鍔犮傘傘傘?/span>
]]>銆愯漿杞姐慾s鐨勭戶鎵垮疄鐜版柟寮?/title> http://m.tkk7.com/liu0909/articles/290821.html鎵竼鍑烘搗 鎵竼鍑烘搗 Wed, 12 Aug 2009 06:33:00 GMT http://m.tkk7.com/liu0909/articles/290821.html http://m.tkk7.com/liu0909/comments/290821.html http://m.tkk7.com/liu0909/articles/290821.html#Feedback 0 http://m.tkk7.com/liu0909/comments/commentRss/290821.html http://m.tkk7.com/liu0909/services/trackbacks/290821.html
璇█鏀寔錛歫s鍘熺敓鏀寔鐨勭戶鎵挎柟寮?鏋勯犲櫒鐨勭殑prototype灞炴т綔涓虹被鐨勫師鍨?姣忎釜璇ョ被鐨勫璞¢兘鎸佹湁涓涓埌鍘熷瀷鐨勫紩鐢?褰撳璞′腑鐨勫睘鎬т笉瀛樺湪鏃?鍙互璁塊棶鍘熷瀷鐨勫睘鎬?br />
浠g爜紺轟緥錛?br />
< script >
function parent(){
this .x = 10 ;
}
function child(){
}
child.prototype = new parent();
var childObj = new child();
alert(childObj.x);
</ script >
絎簩縐?澶嶅埗鍨嬪師鍨嬬戶鎵?br />
璇█鏀寔錛歫s new榪愮畻絎︾殑鎬ц川 褰撴瀯閫犲嚱鏁皉eturn鍊間負(fù)闈炵┖瀵硅薄鏃?new琛ㄨ揪寮忚繑鍥瀝eturn鐨勫璞?br />
浠g爜紺轟緥錛?br />
< script >
function parent(){
this .x = 10 ;
}
function child(){
var ret = new parent();
ret.y = 20 ;
return ret;
}
var childObj = new child();
alert(childObj.x); </ script >
絎笁縐?綾葷戶鎵?灞炴ф妱鍐?br />
璇█鏀寔錛歠or in鏋氫婦瀵硅薄鎵鏈夊睘鎬?br />
浠g爜錛?br />
< script >
function parent(){
this .x = 10 ;
}
function child(){
var parentObj = new parent();
for ( var p in parentObj) this [p] = parentObj[p];
}
var childObj = new child();
alert(childObj.x); </ script >
絎洓縐?綾葷戶鎵?瀵硅薄鍐掑厖
璇█鏀寔錛?1.鍔ㄦ佹坊鍔犲拰鍒犻櫎鏂規(guī)硶 2.鍑芥暟鐨刢all鍜宎pply
浠g爜錛?br />
鐢ㄨ璦鏀寔1瀹炵幇鐨勭被緇ф壙
< script >
function parent(){
this .x = 10 ;
}
function child(){
this .parent = parent;
this .parent();
delete this .parent;
}
var childObj = new child();
alert(childObj.x); </ script >
鐢ㄨ璦鏀寔2瀹炵幇鐨勭被緇ф壙
< script >
function parent(){
this .x = 10 ;
}
function child(){
parent.call( this );
}
var childObj = new child();
alert(childObj.x); </ script >
絎簲縐?鍘熷瀷鎶勫啓
璇█鏀寔錛氶氳繃淇敼綾葷殑鍘熷瀷瀵硅薄 鍙互涓轟竴綾誨璞℃坊鍔犲睘鎬у拰鏂規(guī)硶
浠g爜錛?br />
< script >
function parent(){}
parent.prototype.me = function (){alert( " parent " )};
function child(){}
for ( var p in parent.prototype)child.prototype[p] = parent.prototype[p];
var childObj = new child();
childObj.me(); </ script >
絎叚縐?鍏冪被
璇█鏀寔: js鍑芥暟閮芥槸瀵硅薄 涓攋s鍑芥暟鍙鏋勯?br />
浠g爜錛?br />
< script > function parent(string){
var child = new Function( " this.x=10; " + string);
return child;
}
var child = new parent( " this.y=20; " );
var childObj = new child();
alert(childObj.y);
</ script >
浠ヤ笅閫氳繃娣峰悎鏋勯犲嚱鏁頒笌鍘熷瀷鏂瑰紡鏉ュ疄鐜?/span>JS 鐨勭戶鎵垮姛鑳姐?/span> Polygon 涓虹埗綾伙紝 Triangle Rectangle 涓哄瓙綾匯?/span>
function Polygon (iSiders){
this .sides = iSiders;
}
Polygon.prototype.getArea = function (){
return 0 ;
}
function Triangle(iBase,iHeight){
Polygon.call( this , 3 );
this .base = iBase;
this .height = iHeight;
}
Triangle.prototype = new Polygon();
Triangle.prototype.getArea = function (){
return 0.5 * this .base * this .height;
}
function Rectangle(iLength,iWidth){
Polygon.call( this , 4 );
this .length = iLength;
this .width = iWidth;
}
Rectangle.prototype = new Polygon();
Rectangle.prototype.getArea = function (){
return this .length * this .width;
}
var triangle = new Triangle( 12 , 4 );
var rectangle = new Rectangle( 22 , 10 );
alert(triangle.getArea);
alert(rectangle.getArea);
鍘熸枃錛歨ttp://blog.csdn.net/lenotang/archive/2008/08/27/2840315.aspx
]]>
主站蜘蛛池模板:
亚洲精品一品区二品区三品区 |
四虎影视免费在线 |
亚洲精品无码国产 |
www成人免费观看网站 |
亚洲国产成人久久综合碰 |
亚洲AV无码专区在线厂 |
国产美女精品视频免费观看 |
亚洲国产精品无码久久98 |
麻豆精品国产免费观看 |
相泽南亚洲一区二区在线播放 |
日本高清免费aaaaa大片视频 |
亚洲av无码片vr一区二区三区 |
又黄又爽的视频免费看 |
无码免费又爽又高潮喷水的视频 |
亚洲美女高清一区二区三区 |
成人a毛片视频免费看 |
亚洲午夜久久久久久噜噜噜 |
日本卡1卡2卡三卡免费 |
亚洲色图视频在线观看 |
国产香蕉九九久久精品免费
|
亚洲色欲或者高潮影院 |
在线观看av永久免费 |
老司机亚洲精品影院在线观看 |
亚洲人成www在线播放 |
日韩在线视频播放免费视频完整版 |
亚洲高清无码在线观看 |
亚洲免费观看视频 |
亚洲国产日韩在线一区 |
国产中文字幕免费观看 |
中文精品人人永久免费 |
亚洲国产精品张柏芝在线观看 |
性色av免费观看 |
日本激情猛烈在线看免费观看
|
国产一卡二卡3卡四卡免费 |
亚洲国产精品18久久久久久 |
亚洲av午夜成人片精品电影 |
欧洲人免费视频网站在线 |
亚洲kkk4444在线观看 |
亚洲精品高清无码视频 |
毛片大全免费观看 |
国产午夜无码精品免费看动漫 |