I am new to Extjs so please kindly help me out on this issue even though it may sound easy. I have a combo box which I want it to display the area of the selected items whenever it is expanded. My code looks like below:
xtype: 'combo',
id: 'hdpbox',
store: storeNumber,
queryMode: 'local',
forceSelection: true,
selectOnFocus: true,
displayField: 'display',
valueField: 'value',
listeners: {
expand: function(){
//Some functions will go here in order to show where the selected item in the list
}
}
It always display the top records on expanding although the selected item is the one from the bottom. I have tried many ways but non have worked out. I am using Ext 4.2.1 just for your info. Thank you very much for you time and concern