Hello all. I am trying to get a datakeyname from the parent
of a child table when the Context Menu is displayed. I am
having a difficult time trying to figure this out. Any ideas?
Thanks.
Joshua
of a child table when the Context Menu is displayed. I am
having a difficult time trying to figure this out. Any ideas?
Thanks.
| // Abbreviated function for ease of reading |
| function ShowContext(sender,args){ |
| var menu = $find("GridContextMenu"); |
| var selectedindex = args.get_itemIndexHierarchical(); |
| //Not sure about below |
| var parentindex = sender.get_parentView().getDataKeyNames("EventId"); |
| menu.show(args.get_domEvent()); |
| } |
Joshua