0 Replies Latest reply on Oct 31, 2011 10:25 AM by OneofHis777

    How to resize TextInput in itemRender for Datagrid?

    OneofHis777

      How to resize TextInput in itemRender for Datagrid?

       

      Here is the code I have thats not working..

       

      <mx:DataGridColumn headerText="Quanity" dataField="quanity" width="80" editable="false" resizable="false" sortable="false">

                                                                                                           <mx:itemRenderer>

                                                                                                                     <fx:Component>

                                                                                                                               <mx:TextInput  width="60" textAlign="center"/>

                                                                                                                     </fx:Component>

                                                                                                           </mx:itemRenderer>

                                                                                                </mx:DataGridColumn>

       

       

       

       

      Any help would be awesome...

       

      Thanks,

      Anthony