I am currently working on an old project with ExtJS 3.0.0
, without possibility to upgrade version. My goal is to make a combobox always open, so that the user does not have to click the arrow in order to view the options.
I found out that by overriding the collapse
event listener, I can prevent the combobox from closing once it is expanded
myCombo.addListener(
'collapse',
function() {
this.expand();
}
);
However I cannot find any way to expand it programmatically once the panel is rendered. I experimented with specialkey
and keypress
events, but I do not know how they should be triggered.
Any ideas on how I could achieve this?