锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲天堂久久精品,久久久久亚洲精品无码系列,国产成人A亚洲精V品无码 http://www.tkk7.com/liu0909/category/41260.html瀛︿範,姘告棤姝㈠....... zh-cn Thu, 27 Aug 2009 00:34:08 GMT Thu, 27 Aug 2009 00:34:08 GMT 60 銆怑xt銆慓rid灝忛棶棰樿В鍐?涓嶆柇澧炲姞涓? http://www.tkk7.com/liu0909/articles/292563.html鎵竼鍑烘搗 鎵竼鍑烘搗 Tue, 25 Aug 2009 12:59:00 GMT http://www.tkk7.com/liu0909/articles/292563.html http://www.tkk7.com/liu0909/comments/292563.html http://www.tkk7.com/liu0909/articles/292563.html#Feedback 0 http://www.tkk7.com/liu0909/comments/commentRss/292563.html http://www.tkk7.com/liu0909/services/trackbacks/292563.html
鐜板湪鐨勯」鐩嬌鐢‥xt2鍋氱晫闈㈠竷灞浠ュ強琛ㄦ牸灞曠ず錛屽叾涓亣鍒扮殑灝忛棶棰樺強鍏惰В鍐蟲柟娉曡褰曚笅鏉ワ紝浠ヤ究澶у涓璧峰涔犮?br />
1銆丟rid婊氬姩鏉?/font>
Grid涓嶆樉紺烘按騫蟲粴鍔ㄦ潯鐨勫姙娉曪細
鍦╣rid鍒涘緩涔嬪悗錛屾垨grid閲嶆柊鍔ㄦ侀厤緗箣鍚庯紝鍔犲叆涓嬮潰涓よ浠g爜鍗沖彲
this.grid.getView().mainBody.dom.style.width = this.grid.getView().getTotalWidth();
this.grid.getView().mainBody.dom.style.height = '1px';
娉細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 >
鐒跺悗鍙戠幇绔栫嚎涓庤〃澶存病鏈夊榻愶紝鏈変竴涓儚绱犵殑璇樊錛屽啀鍔犲叆鏍峰紡錛屼唬鐮佸氨鎴愪簡榪欐牱錛?/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 >
鎺ョ潃鍙戠幇琛岄棿鏈変竴涓儚绱犵殑闂撮殧錛屽啀鏀瑰惂錛屼唬鐮佸涓嬶細
< 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 >
浠ュ悗浼氭妸閬囧埌鐨勯棶棰樺強鍏惰В鍐蟲柟娉曠戶緇坊鍔犮傘傘傘?/span>
]]>銆愯漿杞姐慾s鐨勭戶鎵垮疄鐜版柟寮?/title> http://www.tkk7.com/liu0909/articles/290821.html鎵竼鍑烘搗 鎵竼鍑烘搗 Wed, 12 Aug 2009 06:33:00 GMT http://www.tkk7.com/liu0909/articles/290821.html http://www.tkk7.com/liu0909/comments/290821.html http://www.tkk7.com/liu0909/articles/290821.html#Feedback 0 http://www.tkk7.com/liu0909/comments/commentRss/290821.html http://www.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鍊間負闈炵┖瀵硅薄鏃?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.鍔ㄦ佹坊鍔犲拰鍒犻櫎鏂規硶 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 >
絎簲縐?鍘熷瀷鎶勫啓
璇█鏀寔錛氶氳繃淇敼綾葷殑鍘熷瀷瀵硅薄 鍙互涓轟竴綾誨璞℃坊鍔犲睘鎬у拰鏂規硶
浠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
]]>
主站蜘蛛池模板:
亚洲第一网站免费视频 |
不卡一卡二卡三亚洲 |
亚洲欧洲日本国产 |
日本免费一区二区三区 |
亚洲精品无码成人片久久 |
99久久免费国产精精品 |
三上悠亚亚洲一区高清 |
中文字幕免费人成乱码中国 |
亚洲精品无码成人AAA片 |
成人免费区一区二区三区 |
久久久亚洲精品无码 |
99re在线精品视频免费 |
亚洲黄色三级视频 |
久久福利资源网站免费看 |
亚洲天堂电影在线观看 |
麻豆最新国产剧情AV原创免费 |
亚洲人成网站在线观看播放动漫 |
99精品国产免费久久久久久下载 |
亚洲人成欧美中文字幕 |
国产乱子伦精品免费无码专区
|
国产啪精品视频网站免费尤物 |
亚洲美女又黄又爽在线观看 |
久9这里精品免费视频 |
亚洲麻豆精品果冻传媒 |
24小时日本在线www免费的 |
精品久久久久久久久亚洲偷窥女厕
|
2020年亚洲天天爽天天噜 |
日韩一区二区在线免费观看 |
羞羞视频在线观看免费 |
久久久国产精品亚洲一区 |
天天看片天天爽_免费播放 |
日日狠狠久久偷偷色综合免费 |
亚洲av色影在线 |
成人免费视频国产 |
日本中文字幕免费高清视频 |
国产精品亚洲片夜色在线 |
亚洲成?v人片天堂网无码 |
亚洲a一级免费视频 |
亚洲暴爽av人人爽日日碰 |
亚洲日韩精品A∨片无码 |
美女被cao免费看在线看网站 |