Hi All!
I’m having problem with a button in MODx.grid inside "tbar"... (Advanced distr.)
The code is:
,tbar:[{
xtype: 'xxx'
,emptyText: ' ... '
,store: new Ext.data.SimpleStore({
fields: ['d','v'], ...
})
,id: 'idx'
,listeners: {
'select': {fn: this.changeSearch,scope:this}
}
},{
xtype: 'textfield'
,id: 'sid'
,emptyText: _('search...')
,listeners: {
'change': {fn:this.search,scope:this}
,'render': {fn: function(cmp) {
new Ext.KeyMap(cmp.getEl(), {
key: Ext.EventObject.ENTER
,fn: function() {
this.fireEvent('change',this);
this.blur();
return true;
}
,scope: cmp
});
},scope:this}
}
},'->',{
text: _('create')
,handler: { xtype: 'scc-window-create' ,blankValues: true }
,align: 'right'
}]
The problem is the button on the right side of it (image attached).
I’m using Firefox 4.0.1
Sumoborac