You have to either customize the editor, or let them type anything then
handle itemEditEnd and reject it if it isn't valid. These days, you
should be able to customize like this:
<mx:DataGridColumn>
<mx:itemEditor>
<mx:Component>
<mx:TextInput restrict="0-9" />
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of candysmate
Sent: Friday, October 26, 2007 12:05 PM
To: [email protected]
Subject: [flexcoders] Re: datagrid cellEditor?
--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> itemEditorInstance
>
>
Thanks Alex.
If you wanted to resrict user input in a datagridcolumn without using
an itemrenderer what approach would you use please?