ExtJS Hack: How To Get Selected Index of ExtJS ComboBox

    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/

« How To Play Doom, Heretic,... || IP Address Changes… »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home