Hi everyone.
I am new to this framework and need some assistance
with the toolbar, button and a list.
The setup I created was straight forward.
Below is the code :
dhx.ui({
rows:[
{ view:"toolbar", type:"MainBar", data:[
{ type:"button", label: 'Menu', popup:"Menu1"},
{ type:"label", label: 'Johan Smith'}
]
}
]
});
Now below I load an xml file and bind this to the menu button which works.
dhx.ui({
view:"popup",
id:"Menu1",
body:{
view:"list",
url:"xml/menu.xml", datatype:"xml",
select:true, y_count:9
}
}).hide();
/*
$$("list").attachEvent("onItemClick", function(){
$$("Menu2").show(this)
});*/
//$$ == dhx.ui.locateView
$$(“popup”).attachEvent(“onItemClick”,function(id){
log(“onItemClick”);
})
My problem is that when I try to click on a item in the popup list is that nothing happens.
I would like to display a panel which contains forms …datagrid…ect.
Anyone got assistance here
Below is a example which I tried to add links to the xml document, but not working.
Quotes
Sales
Reports
Product Range
Suppliers
Reports
Targets
Maintenance
Log Out
Your feedback would be much appreciated.