--- In [email protected], "markgoldin_2000"
<[EMAIL PROTECTED]> wrote:
>
> Any sample of using restrict property for fields in DataGrid?
> 
> Thanks
>

Mark,

I use this withim my current project:

<mx:DataGridColumn
 headerText="RRP (p)"
 dataField="retail"
 width="60"
 textAlign="right"
 rendererIsEditor="true"
 >
 <mx:itemRenderer>
  <mx:Component>
    <mx:TextInput restrict="0-9">
    </mx:TextInput>
  </mx:Component>
 </mx:itemRenderer>
</mx:DataGridColumn>

HTH

best,  Graham



Reply via email to