Alright, after reading through all the archives, cflex.net and google…I’ve come to the conclusion I can’t solve my issue J I have a super basic menu function.

public function showMenu() {

      myMenu = Menu.createMenu(null, myEMP2Service.result.query.row);

      myMenu.show(200, 10);

      Alert.show("trace: "+myMenu,"hey!",Alert.OK);

}

 

I call this from a button on my movie.

 

<mx:Button id="clickBtn" label="Add Note" click="showMenu()"/>   

It works and I see the alert. Now I do the same with a datagrid, right after the button, in the same element/level in the movie.

<mx:DataGrid id="AFTAsDG" width="100%" height="95%" dataProvider="{myAFTAService.result.query.row}" change="showMenu()">

 

No menu! But the alert shows the menu exists! No matter where I move it, it doesn’t show up. Can you not do menus on changeEvents for Datagrids?  I’m assuming it’s a depth issue of some sort…ideas?

Jonathan Miranda



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to