Hi Madhavi, You cannot completely get rid of the Flex default context menu items. Maximum what you can do is:
contextMenu.hideBuiltInItems(); Apart from this, if you still want to hack around... here is an alternative (this is not 100% fool-proof) http://blog.another-d-mention.ro/programming/right-click-and-custom-context-menu-in-flash-flex/ Regards, Venkat On Mar 10, 5:40 am, madhavi chinni <[email protected]> wrote: > Hi, > > I want to replace the standard flex ContextMenu when I right click a > GridItem in flex. > Can anyone tell me whether it is possible to do that? > > Infact I am able to add CustomItems to the ContextMenu of a GridItem > but I want to replace the standard flex ContextMenu for a GridItem. > > Any help is greatly appreciated. > > Thanks, > Madhavi -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

