I'm new to ExtJs and currently working on ExtJs5 for one scenario.
Below is the code for combo box. visible value in the combobox is "tr" and i need to pass the value to the store to get the report dashboard (table) and to display in below. how to do i access the report item id within the combobox?
{
xtype: 'combo',
fieldLabel: LANG.LOGIN_LANG,
id : 'lang',
store:[['tr','Türkçe'],['ru','Русский'],['en','English']],
mode: 'local',
triggerAction: 'all',
value: 'tr',
selectOnFocus:true
},
Also, when i click on reset , the combo box should be reset to the first value in case selected any-other value.