-
7 Nov 2011 6:41 AM #1
Answered: which event to be fired for check box check
Answered: which event to be fired for check box check
Hi I have check box and when I checked it. I want to get message box, , but I am not able to guess which event to be used. in extjs 3.3.1 I used check event
I tried activate event, but it doesn't work I am using extjs 4.0.7
My checkbox definition is :
and my event call is as below :Code:{ xtype : 'checkboxfield', fieldLabel : 'Label', id : 'chkid', labelSeparator : '', labelWidth : 80, boxLabel : '', ref: 'chkid', name : 'chkid', anchor : '100%' }
Code:Ext.getCmp('chkid').on('activate', function(){ if (this.checked) { console.log('testing'); } });
-
Best Answer Posted by tvanzoelen
it is 'change' in ExtJs 4
-
7 Nov 2011 6:45 AM #2Ext JS Premium Member
- Join Date
- Apr 2008
- Location
- Groningen - Netherlands
- Posts
- 1,017
- Vote Rating
- 23
- Answers
- 75
it is 'change' in ExtJs 4
-
7 Nov 2011 8:22 AM #3
This is fixed by change event. Thanks a Mill.


Reply With Quote