How to disable a particular data in the combo-box in ExtJS 4.2.1
问题 How do I disable a particular data item in a combo-box in ExtJS 4.2.1? The combo-box values are data and value pairs: orderTypes = [ ['Local', 'Local'], ['Device', 'Device'], ['None', 'None'] ]; I want to disable the value 'Device' in the combo-box. So I used tried the code below, where orderComboTwo is my comboxbox. However it is not disabling the data listed in the combo-box. orderComboTwo.getStore().data.items[1].data.disabled = true; 回答1: A ComboBox does not have the possibility to