DHTMLX Docs & Samples Explorer

Other components can be initialized in the way similar to the grid's one

For TreeGrid in static mode

mygrid = new dhtmlXGridObject('gridbox');
mygrid.setColTypes("tree,...");
//...
mygrid.loadXML("connector.php");

For TreeGrid in dynamic mode

mygrid = new dhtmlXGridObject('gridbox');
mygrid.setColTypes("tree,...");
//...
mygrid.kidsXmlFile="connector.php";
mygrid.loadXML("connector.php");

For Tree in static mode

tree=new dhtmlXTreeObject("treeboxbox_tree","100%","100%",0);
//...
tree.loadXML("connector.php");

For Tree in dynamic mode

tree=new dhtmlXTreeObject("treeboxbox_tree","100%","100%",0);
//...
tree.setXMLAutoLoading("connector.php");
tree.loadXML("connector.php");

For combo in static mode

var z=new dhtmlXCombo("combo_zone2","alfa2",200);
z.loadXML("connector.php");

For combo in auto-complete mode

var z=new dhtmlXCombo("combo_zone2","alfa2",200);
z.enableFilteringMode(true,"connector.php",true);
z.loadXML("connector.php");

If you want to use dataprocessor with Tree or TreeGrid, you will need to include connector.js same as for grid