1 Reply Latest reply on Nov 20, 2008 6:25 AM by Newsgroup_User

    I cannot get the restrict to work in a text input(itemRenderer)

    nikos101 Level 2
      I cannot get the restrict to work in a text input(itemRenderer) in a datagrid column. Has anyone figured out how to do this?
        • 1. Re: I cannot get the restrict to work in a text input(itemRenderer)
          Level 7

          "nikos101" <webforumsuser@macromedia.com> wrote in message
          news:gg3l98$46v$1@forums.macromedia.com...
          >I cannot get the restrict to work in a text input(itemRenderer) in a
          >datagrid
          > column. Has anyone figured out how to do this?
          >
          >
          > <mx:itemRenderer>
          >
          > <mx:Component >
          > <mx:TextInput restrict=".0-9" borderStyle="none"
          > paddingTop="0" paddingBottom="0"/>
          > </mx:Component>
          >
          > </mx:itemRenderer>

          Possibly your itemRenderer is not being used as the itemEditor.