Tag Archives: itemEditor

How to display errorString in a Datagrid ItemEditor?

There is a datagrid displaying users:
image
And this datagrid is editable ,  we can modify username directly, by default, Flex will use TextInput as t

More…

Posted in Flex | Tagged , , | Leave a comment

Flex: 检查/撤销Datagrid编辑数据 Validate/revert editable Datagrid input value

Requirement: We want to validate user input in editable datagrid, and revert the original value(undo) if necessary.
Solution: Handle the ‘itemEditEnd’

More…

Posted in ActionScript | Tagged , , , , | Leave a comment

ActionScript中使用自定义组件 Use CustomUI in Flex with ActionScript

一: 需求
要求使用get ui获得一个UICompontent[DataGrid], 其中DataGrid某列的ItemEditor为ComboBox,且该UICompontent的右键菜单中有一个Item: 删除 [删除当前选定的行] 使用set value 来设定该UIComponten

More…

Posted in Flex | Tagged , , , , , | Leave a comment