-
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
- ExtJs 2.0
- also categorized in ExtJS
- ExtJS Creator Jack Slocum Discusses Upcoming 2.0 Release
- also categorized in ExtJS
- My First ExtJS DataGrid Pt 7: Custom Cell Renderers
- also categorized in ExtJS
- ExtJS: Ext.LayoutDialog Gotcha
- also categorized in ExtJS
- In a Journey Json Url Encoder in Java
- also categorized in ExtJS
- A comparison between ExtJS and Gaia Ajax Widgets
- also categorized in ExtJS
- A comparison between ExtJS and Gaia Ajax Widgets
- also categorized in ExtJS
- SOT: ExtJS 2 0 Released
- also categorized in ExtJS
- ExtJS + Applet and the dead of only you tech,
- also categorized in ExtJS
- ExtJS Hack: Dynamic ComboBox & Remote On-Demand Loading With Local ...
- also published in Simple Thoughts






Recent Comments
joew » Partial Functions in JavaScript
This is a fascinating article, partial function application is a really useful technique John's ...
pawan » Google
Here are two other similar products which I bookmarked in the past: http://www.maani ...
See all recent comments