sten82
27 Sep 2012, 6:40 AM
Hello,
is there any possibility to remove the keypress event from menu?
Ext.create('Ext.menu.Menu', {
width: 100,
height: 100,
margin: '0 0 10 0',
floating: false, // usually you want this set to True (default)
renderTo: Ext.getBody(), // usually rendered by it's containing component
items: [{
text: 'regular item 1'
},{
text: 'regular item 2'
},{
text: 'regular item 3'
}]
});
This example is from the docs. If I click on any menu button and press the left key on my keyboard the complete menu disapears. Can I disable this behavoir?
Thanks in advance,
carsten
is there any possibility to remove the keypress event from menu?
Ext.create('Ext.menu.Menu', {
width: 100,
height: 100,
margin: '0 0 10 0',
floating: false, // usually you want this set to True (default)
renderTo: Ext.getBody(), // usually rendered by it's containing component
items: [{
text: 'regular item 1'
},{
text: 'regular item 2'
},{
text: 'regular item 3'
}]
});
This example is from the docs. If I click on any menu button and press the left key on my keyboard the complete menu disapears. Can I disable this behavoir?
Thanks in advance,
carsten