HI
i am very new to DHTMLXTree, I followed all the basic steps mentioned in the doc how to use the tree view, But the tree view is not getting populated with XMD data. Please find the below is my JSP code
and XLS Data. Please let me know what iam missing
</head>
<body style="background-color: white">
<script>
var tree = new dhtmlXTreeObject("treeboxbox_tree", "100%", "100%", 0);
tree.setSkin('dhx_skyblue');
tree.setImagePath("../styles/imgs/csh_bluebooks/");
function loadTreeData(){
AjaxRequest.get(
{
'parameters':{ 'action':'loadTreedata' }
,'onSuccess':function(req) {
var xmlData = req.responseText;
alert("xmlData === "+xmlData);
if(xmlData!= null ){
tree.loadXML(xmlData);
}
}
}
);
}
</script>
<form name="GridDataForm" method="post" action="/dhtml/ACTION_LOADGRID.do;jsessionid=C0C7EF896FE030134C2F9240919D7250">
<table>
<tr>
<td>
<div id="treeboxbox_tree" style="width:250px; height:218px;overflow:auto; border-style: groove; border-width: 1px;"/>
</td>
<td rowspan="2" style="padding-left:25" valign="top">
</td>
</tr>
<tr>
<td><input type="button" onclick="loadTreeData()"></td>
</tr>
</table>
</form>
</body>
XML DATA
<?xml version="1.0"?>