Date: 08/20/07 (Java Web) Keywords: no keywords ExtJS ComboBox doesn’t advertise, in its documentation, any way to get the selected index of a ComboBox. Looking at the code I realized we can use the undocumented property selectedIndex. However there is a catch. ComboBox.reset() doesn’t set the selectedIndex to -1, which it should. So whenever you use selectedIndex, remember to reset it [...] Source: http://blog.taragana.com/index.php/archive/extjs-hack-how-to-get-selected-index-of-extjs-combobox/
|