0 Replies Latest reply on May 2, 2007 10:04 PM by Rahul Mainkar

    Event Listener Issue

    Rahul Mainkar
      Hi All,
      When I execute the following code, the IE window is closed automatically. Got no clue as to why this is happening.In my program , I am dynamically creating a datagrid and trying to use item_Edit_End event. Here is the code.



      dg.addEventListener(DataGridEvent.ITEM_EDIT_END,myListener); //dg is the datagrid.

      public function myListener(event:DataGridEvent):void{
      Alert.show("Hi");
      }

      When I run this code, the datagrid is generated dynamically and displays proper result. when I try to edit one of the cell, it works fine,but as soon as I try to edit another cell, the browser closes without any error or warnings.

      Anyone knows about this issue??
      Thanks