[Solved] Event “onClick” on treeview DHTMLX
[ad_1] Ok so here is my solution using “onSelect” instead of “onClick” event : myTreeView.attachEvent(“onSelect”, function(id){ pid = myTreeView.getSelectedId(); dhtmlx.alert(pid); }); With this event i can now populate my grid from my tree with adding : myGrid.clearAll(); myGrid.load(“/LRF/XMLWeb/ProcessDescriptor/descriptor/PROJECT/grid.xml”); That’s it 🙂 [ad_2] solved Event “onClick” on treeview DHTMLX