Buenas a todos,

Tengo un Datagrid, mydgI, dentro de un Panel, al hacer dobleclick sobre una línea del Datagrid abro un Popup con un formulario de edición y al cerrar el Popup actualizo el Datagrid y quiero que este obtenga el foco y se coloque en la misma linea.

Código ActionScript :

   public function actualizarmydgI(evt:CloseEvent):void{ 
      
      getAllListaIncidenciasResult.token = iviosServiceDestination.getAllListaIncidencias();
      mydgI.dataProvider = getAllListaIncidenciasResult.lastResult; 
      mydgI.selectedItem=selectItem;
      //o
      //mydgI.selectedIndex=selectIndex;
      mydgI.getFocus();

   }


Gracias de antemano y un saludo