Categories | Question details Back To List | ||
dhtmlXTree v2.1 Pro. and dhtmlXMenuObject context menu appears at bottom of containing page dhtmlXTree v2.1 Pro. and dhtmlXMenuObject context menu appears at bottom of containing page My company has recently purchased a Profession license for DhtmlXTree. I am trying to use the Context Menu within the Tree bu the Menu only appears at the bottom of the page rather than near the tree item that was actually clicked. I have tried the position:relative style change mentioned on this site but without success. Can you tell me how I can correct this behaviour.
function showTree(requiredUrl) { var menuUrl = "assessmentPreviewTreeMenu.xml";
function onMenuItemClick(menuitemId,type){ Answer posted by Alex (support) on Jul 17, 2009 01:35 Hello, the issue wasn't reproduced locally. Could you please provide the complete demo to support@dhtmlx.com Answer posted by Brain O'Connor on Jul 17, 2009 03:22 Hi Alex, thanks for coming back so quickly. Thankfully I managed to find the solution after I contacted you yesterday. I had to change the following line .. menu = new dhtmlXMenuObject(null, "standard"); .. to .. The Tree context menu is now working as expected. Wonderful product by the way! Many thanks, Brian |