DHTMLX Docs & Samples Explorer

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

### TreeGrid

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");

### Tree

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");

### Combo

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");

### Scheduler

    scheduler.init(some_obj)
    scheduler.load("connector.php");

### Form

    var z = new dhtmlXForm(someId);
    z.load("connector.php");

### DataView

    var z = new dhtmlXDataView({...});
    z.load("connector.php");

### Chart

    var z = new dhtmlXChart({...});
    z.load("connector.php");

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