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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of candysmate
Sent: Friday, October 26, 2007 12:05 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: datagrid cellEditor?

 

--- In flexcoders@yahoogroups.com <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? 

 

Reply via email to