Wednesday, May 2, 2012

Flex: implementing TextInput restrict in spark table gives error

I'm creating a Flex table in which one column is editable. I want to restrict the user's input to certain characters. The following code gives an Could not resolve <s:itemEditor> to a component implementation error. Anyone know how to resolve this?

<supportClasses:MyColumn ... />
<supportClasses:MyColumn editable="true" ...>
<s:TextInput restrict="0-9a-zA-Z"/>
<supportClasses:MyColumn ... />

No comments:

Post a Comment