5 Replies Latest reply on Dec 23, 2009 12:52 PM by Francisc

    DataGrid Cell Text_Input Event

    epi3rc3

      im trying to capture when a user inputs text into a cell of a DataGrid inwhich i capture the textInput for the cell first...

       

      dG2.addEventListener(FocusEvent.FOCUS_IN,dgFocused);


      private function dgFocused(e:Event):void{
                  dgInFocus = DataGrid(e.currentTarget);


                  if(e.target is TextField){
                      trace("txtField");
                      dTxtField = TextField(e.target);
                  }


        }

       

       

      then i add event listener to this textInput

       

      dTxtField.addEventListener(TextEvent.TEXT_INPUT,textInputed);

       

      but the event never fires off! is there something im doing wrong here?