开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜