PDA

View Full Version : subscribe to 'Activate' event on a form inside a sheet



Akrion
23 Jul 2011, 9:17 PM
Hi,

I have something like this:


this.cForm = new Ext.form.FormPanel(
{
id: 'cForm',
scroll: 'vertical',
items: [nameFields, addressFields, otherFields],
listeners:
{
activate: function()
{
console.log('Hello');
}
},
This form in inside a Sheet:



Ext.apply(this,
{
items: [this.cForm]
});


The activate event never fires. I am sure I am missing something small. I appreciate your help.

Thanks!