1 person found this helpful
Use ItemEditor. Check this example. Right click to view the source. This uses TextInput as ItemEditor but you should be able to do the same with ComboBox.
Check this also.
Message was edited by: Subeesh Arakkan
Off the top of my head it's probably something like:
<mx:DataGrid id="dg1" width="100%" height="100%"> <mx:columns> <mx:DataGridColumn dataField="Example"> <mx:itemEditor> <mx:Component> <mx:ComboBox> <mx:String>1</mx:String> <mx:String>2</mx:String> <mx:String>3</mx:String> </mx:ComboBox> </mx:Component> </mx:itemEditor> </mx:DataGridColumn> </mx:columns> </mx:DataGrid>
Just checked, Subeesh's example: http://blog.flexmonkeypatches.com/2008/02/18/simple-datagrid-combobox-as-item-editor-examp le/ has got a very good example on it. Pretty much exactly what you asked
Thanks for the great help .. This is what I want to implement