1. August 20th, 2007 by Angsuman Chakraborty ExtJS ComboBox doesnt 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() doesnt set the selectedIndex to -1, which it should. So whenever you use selectedIndex, remember to reset it manually after reset(). Otherwise it will return stale value (Read Full Article)

    Related Articles

Login to comment.

 
Home All Articles Entities Quotes Comments Login Register Powered by HiveFire