Gooday Note Scrap Source Android login
 
작성일 : 10-07-09 16:36
ExtJS 는 여기에~~~ㅋㅋㅋ
 글쓴이 : 관리자 (124.♡.25.159)
조회 : 4,569  
*** Ext Js 모음 ***

관리자 10-07-09 16:57
 124.♡.25.159  
관리자 10-07-15 15:01
 124.♡.25.159  
* textArea 에서 수정안되게 하기
onFocus: function(){this.blur();},
readOnly: true
관리자 10-07-15 15:01
 124.♡.25.159  
* Class 추가 및 적용하기
Ext.getCmp('domain-description').addClass('x-item-disabled2');
관리자 10-07-15 15:01
 124.♡.25.159  
* 버튼 스타일 바꾸기???

How to style/css submit button?

var btn_submit = new Ext.Button({
id: 'wtf' //<--- this also doesn't show up in Firebug
,text: 'Save'
,type: 'submit'
,style: 'color: red !important'
,cls: 'test_btn_submit'
,ctCls: 'test_btn_submit'
,overCls: 'test_btn_hover'
})

btn_submit.addClass('test_btn_submit');

<button type="submit" class="x-btn-text" id="ext-gen665">Save</button>
관리자 10-07-15 17:50
 124.♡.25.159  
* textarea 버튼 이벤트

xtype:'textarea',
fieldLabel: TPMS_lang_domain_description,
id: 'domain-description',
maxLength: 1000,
anchor:'95%',
height : 90,
enableKeyEvents: true, // <-- 요걸 꼭 해줘야 한단다ㅋ
listeners:{
scope : this,
keyup : function(tf, e){
if(Ext.getCmp('domain-description').getValue().length >= 1000){
e.stopEvent();
Ext.Msg.alert(TPMS_lang_title,TPMS_lang_Msg_maxLength1000);
}
}
}
관리자 10-07-16 13:42
 124.♡.25.159  
* 유용한 예제???

http://www.koders.com/?s=form&la=JavaScript&li=*&scope=4MCPDP16BR9XYEV4EM3HBY5ZZB
관리자 10-07-31 12:44
 124.♡.25.159  
* 그리드 panel

http://techbug.tistory.com/36
관리자 10-08-05 17:12
 124.♡.25.159  
관리자 10-08-06 11:09
 124.♡.25.159  
관리자 10-08-24 10:29
 124.♡.25.159  
* key 막기

var map = new Ext.KeyMap(id,[
{
key:"v",
ctrl:true,
fn:function(){
e.stopEvent();
Ext.Msg.alert(TPMS_lang_title,"ctrl+v");
//return;
//Ext.getCmp('riskFactor-weight').el.stopEvent();
},
scope:this
}]);
관리자 11-03-16 15:36
 124.♡.25.162  
관리자 11-03-16 16:47
 124.♡.25.162