Hi, i'm using the following view to display a toolbaar with a button in it. But nothing happends when i press the button... I don't even see the button image change from button-up to button-down. Anyone any idea why?
Code:
app.views.test = Ext.extend(Ext.Panel, {
fullscreen: true,
dockedItems: [
{
dock : 'top',
xtype: 'toolbar',
title:'Standard Titlebar'
},
{
dock : 'top',
xtype: 'toolbar',
ui : 'light',
items: [
{
text: 'Test Button',
handler: function() {
alert('aaa'); //Not working...
}
}
]
}
],
html: 'Testing'
});