2 Replies Latest reply on Nov 7, 2006 8:46 PM by Like2Flex

    Grid itemDoubleClick event not responding

    Like2Flex
      Hello,

      I have a grid in which I want to use a itemdoubleclick event.
      But my itemdoubleclick event is not responding. Pls see my code below.
      Is there anything wrong with it?

      Thx

      import mx.events.ListEvent;

      public function itemClickEvent(event:ListEvent):void {
      varid= event.currentTarget.selectedItem.id;
      }


      <mx:DataGrid horizontalScrollPolicy="auto"
      id="grd" itemDoubleClick="itemClickEvent(event);" color="#000080">
      </mx:DataGrid>