Check documentation for the latest version of dhtmlxSuite Client-Side Integration for Tree, TreeGrid, Combo DHTMLX Docs

Client-Side Integration for Tree, TreeGrid, Combo

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

For TreeGrid in static mode:

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

For TreeGrid in dynamic mode:

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

For Tree in static mode:

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

For Tree in dynamic mode:

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

For combo in static mode:

var myCombo = new dhtmlXCombo("combo_zone2","alfa2",200);
myCombo.load("connector.php");

For combo in auto-complete mode:

var myCombo = new dhtmlXCombo("combo_zone2","alfa2",200);
myCombo.enableFilteringMode(true,"connector.php",true);
myCombo.load("connector.php");
Back to top