Hello
I want to open a new Ext.Window() when the user clicks on a panel.. I used
PHP Code:
myPanel.on('click', function() {..});
but it did not work... I looked in the docs and found that there's no public event click on a panel...
I also tried this but it did not do anything.. tried several panel.event, none worked!...
PHP Code:
var myPanel = new Ext.Panel({
html: 'foobar',
baseCls: 'someClass',
listeners: {
activate: function(){
Ext.Msg.alert('test','test');
}
}
});
How could I go around that?
Any examples of working with panels and events? click events on panel?