Tuesday, March 25, 2008

Flex ComboBox with HTML behaviour

The Flex ComboBox behaves differently than a HTML ComboBox / Select Control. Here are some differences:-
1. The Flex ComboBox control has the selectedItem and well as rollover highlighted in the dropdown.
2. When we rollout of the dropdown, the selection should stay at the last item we had rolled over in the dropdown.



Here is a small example I have put accross to illustrate how we can achieve the HTML ComboBox functionality.

(View Source Enabled)

1 comments:

tigersubu said...

You can find html code for COMBOBOX in HTML in the following links. It is an Editable DropDown Listbox with any one select option as Editable (like a textbox ) and the rest as readonly.

http://chakrabarty.com/pp_editable_dropdown.html

http://chakrabarty.com/combobox.html