Hope this code helps:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
layout="absolute">
        <mx:Script>
                <![CDATA[
                        import mx.controls.Alert;

                        import mx.events.DataGridEvent;
                        import mx.collections.ArrayCollection;
                        import mx.controls.TextInput;

                        public var newCity:String;
                        public var newState:String;

                        [Bindable]
                        public var cpirDG:ArrayCollection = new 
ArrayCollection([
                        { develpoer: 'Developer 1'},
                        { develpoer: 'Developer 2'},

                        ]);

                        [Bindable]
                        public var openPracticeData:ArrayCollection = new 
ArrayCollection([
                                                                                
                'Developer 1', 'Developer 2', 'Developer 3'
                                                                                
                ]);

                ]]>
        </mx:Script>
        <mx:Canvas width="100%" height="100%" id="cpirLobExceptios">
        <mx:VBox width="100%" height="100%">
                <mx:DataGrid width="100%" height="70%" id="cpirID"
dataProvider="{cpirDG}" >
                        <mx:columns>
                <mx:DataGridColumn width="600" headerText="Open
Practice" dataField="lobOpenPractice" rendererIsEditor="true">
                        <mx:itemRenderer>
                                <mx:Component className="editor">
                                        <mx:VBox>

                                                <mx:ComboBox 
change="data.develpoer =
test.selectedItem" id="test"
dataProvider="{outerDocument.openPracticeData}"  prompt="Select"
                                          />
                                        </mx:VBox>
                        </
mx:Component>
                    </mx:itemRenderer>
                </mx:DataGridColumn>
                 </mx:columns>
                </mx:DataGrid>
        </mx:VBox>
</mx:Canvas>
</mx:Application>


On Dec 1, 12:05 am, "Vinod M. Jacob" <[EMAIL PROTECTED]> wrote:
> Just create a combobox Itemrenderer for your datagrid.
>
> On Mon, Dec 1, 2008 at 10:36 AM, ans dev <[EMAIL PROTECTED]> wrote:
> > Hello,
>
> > I am working on a *Project Mgmt *project, In that i have a dynamic list of
> > all the tasks related to some projects.
>
> > Now admin will check the task list and will assign each task to some
> > developers.
>
> > So for that i need a drop down of available developers in the Task List
> > Data Grid. I have created the advance data grid.
>
> > So can anyone help me in this. Any sample code or any Link will be useful.
>
> > --
> > Thanking You,
> > Anurag J. Rathod.
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to