I would like to know how to put a combo box in on cloumn of a datagrid. I would like the combobox to allow the user to pick from two values on the last column of the datagrid when each row is populated.

Somthing like this. (but this does not work)

<mxataGrid id="intitalFlowchartDataGrid">
 <mx:columns>
  <mx:Array>
   <mxataGridColumn headerText="Path #" columnName="Path" width="50" />
   <mxataGridColumn headerText="Seq #" columnName="Seq" width="50"/>
   <mxataGridColumn headerText="Description" columnName="Description" width="400" editable="true" />
   <mxataGridColumn headerText="BoxType" columnName="BoxType">
    <mx:ComboBox textAlign="left" id="cmbBoxType">
      <mx:dataProvider>
       <mx:Array>
         <mx:String></mx:String>
         <mx:String>Box</mx:String>
         <mx:String>Notes</mx:String>
       </mx:Array>
     </mx:dataProvider>
    </mx:ComboBox>

   </mxataGridColumn>
  </mx:Array>
 </mx:columns>
</mxataGrid>



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to