1 Reply Latest reply on Sep 14, 2010 2:41 PM by Flex harUI

    datagrid and combobox

    RosieGp Level 1

      Hi all,

      I have two issues...

      First is that my combobox in datagrid is not populating...

      Here is the code:




      function openWindow():void



      var testWindow:TitleWindow = new TitleWindow();



      this, test, true));








      function handle_returnTestAC(e:ResultEvent):void







      toolTip="Click for Description" id="testDG" dataProvider="{testAC}" doubleClickEnabled="true" eventClick="openWindow()">






      <mx:DataGridColumn dataField="ID" headerText="ID" />



      <mx:DataGridColumn dataField="Michigan_Produce" headerText="Michigan Produce" />



      <mx:DataGridColumn headerText="Type" dataField="TypeName">






      <mx:ComboBox prompt="Type" dataProvider="(testArray)" labelField="TypeName"/>

















      If i call this combobox outside the Datagrid it works:



      id="cmb" dataProvider="{testAC}" labelField="TypeName" prompt="Type"/>



      2. Problem is that how do I make "Type" DataGridColumn not double click enabled. as when I make a selection in the combobox it does not open the pop up...

      I'll really appreciate any help... thanks...