开发者

Adobe Flex Combobox as itemrenderer

I have a flex combobox as a datagrid itemEditor.

However, after selecting an item in the combobox, its necessary to click out of the combo (i.e. into another cell or elsewhere in the app) for the value to be committed开发者_如何学编程 to the combo. Prior to this, the combo sits 'proud' of the datagrid and the value hasnt actually been committed.

Is there a way to force the value to be immediately committed after an item has been selected and for the combo to 'lose focus'?


Ahh, so easy.

this.parentDocument.setFocus();
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜