PDA

View Full Version : which event will get called on fieldset checkbox check???



extjs.mscit
30 Oct 2013, 2:21 AM
I create checkbox fieldset by setting "checkboxToggle: true", but how to assign handler to checkChange event?? I tried "onCheckClick", but does not work.


{
id: "reltime-set",
xtype: 'fieldset',
title:RELTIME,
checkboxToggle: true, checkboxName: "reltime",
onCheckClick: onRelClick,
items:[
{.............Item 1 ...............
},{.............Item 2 ...............
},{.............Item 3 ...............
}
]
},

droessner
30 Oct 2013, 4:43 AM
The expand and collapse events are fired when the checkbox is checked/unchecked.

http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.form.FieldSet-event-expand
http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.form.FieldSet-event-collapse (http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.form.FieldSet-event-collapse)