Hi I am trying to set the context menu to a datagrid. The process I am using is like this
cm = new ContextMenu;
cm.hideBuiltInItems();
var cmi:ContextMenuItem = new ContextMenuItem('say hello');
cm.customItems.push(cmi);
Inside datagrid I am using contextMenu="{cm}"
This work perfectly fine with flex 3.6 , but when I compile it with flex 4.6
the contextmenu doesn't show.
Thanks
Nitin Gopi

