ExtJS ComboBox doesn’t advertise, in its documentation, any way to get the selected index of a ComboBox. ExtJS ComboBox ne fait pas de publicité, dans sa documentation, de quelque manière que ce soit pour placer l'indice d'un ComboBox. Looking at the code I realized we can use the undocumented property selectedIndex. En regardant le code je me suis rendu compte que nous pouvons utiliser les sans-papiers de propriété selectedIndex. However there is a catch. Cependant il ya un hic.

ComboBox.reset() doesn’t set the selectedIndex to -1, which it should. ComboBox.reset () ne fixe pas les selectedIndex à -1, qu'elle le devrait. So whenever you use selectedIndex, remember to reset it manually after reset(). Donc, chaque fois que vous utilisez selectedIndex, n'oubliez pas de le réinitialiser manuellement après reset (). Otherwise it will return stale value. Sinon, il sera de retour vicié valeur.