I use a event on a Tree for change the content of menu, but this doesn’t change.
when is load the page have a “menu_blank.xml” and when is a click in a node of the tree change to “menu_blank2.xml”
[code]
var dhxLayout, dhxMenu;
function doOnLoad() {
dhxMenu = dhxLayout.cells(“b”).attachMenu();
dhxMenu.setIconsPath(“includes/imagenes/imgs/”);
dhxMenu.loadXML(“xml/sistema/menu_blank.xml”);
}[/code]
[code]function treeClick(id)
{
dhxMenu.loadXML(“xml/sistema/menu_blank2.xml”);
return true;
}[/code]