3 Replies Latest reply on Aug 11, 2008 12:11 PM by Michael Borbor

    Why won't it double click? - Datagrid

    wkolcz Level 1
      <mx:DataGrid width="100%" height="100%" id="currentPets" dataProvider="{petData}" doubleClick="getAllPetInfo(currentPets.selectedItem.petID)">

      I added this as my function to see if it is getting there, but it doesn't seem to work.

      public function getAllPetInfo(petID:Number):void {
      Alert.show("It is here!");
      }