Thanks for your answer. I think the menuselect Event could be the correct direction.
As far as I could read from the api documentation the menuSelect Event functions are executed bevore the ContextMenu is shown. In my app the menuSelect function is requesting data from a server (RemoteObject). This dynamic data needs to be displayed then as a ContextMenuItem. The problem I have at the moment is that the ContextMenu is displayed before the data from remoteobject can be included in the ContextMenu. Maybe i've to mention that I use the Cairngrom Framework, where dispatch a CairngormEvent. var cairngormEvent:CairngormEvent = new LoadActivityCommandEvent(); CairngormEventDispatcher.getInstance().dispatchEvent(cairngormEvent); Does anyone had ever such a behaviour? regards and thanks cyrill --- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote: > > You can different item renderers in the column each with their own > customized context menu. Or you can catch the menuSelect event and > customize then. > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of cyrill.zadra > Sent: Monday, March 24, 2008 4:05 AM > To: [email protected] > Subject: [flexcoders] Dynamic Context Menu > > > > Hi, > > At the moment i'm playing around with the context menu functions and I > can't find a way to load a dynamic context menu. > > For instance in a datagrid record has only a ContextMenuItem "view" > and another has a ContextMenuItem "view" and "edit". Does anyone know > how to solve such a problem? > > thx and regards > > cyrill >

