Flex 3: TextInput as ItemRenderer for CheckBox in ComboBox?
I need to cre开发者_运维技巧ate a Flex component similar to ComboCheck (by Arcadio Carballares).
What I need is a ComboBox with CheckBox and TextInput instead of Checkbox's label. If CheckBox is selected the TextInput is enabled and editable, other way it's disabled.
Do you have an idea of the easiest way to achieve it?
Create an itemRenderer containing the check box and text input (and code to toggle the editable/enabled prop on the text input), and use that in your combo box as itemRenderer.
精彩评论