Check documentation for the latest version of dhtmlxSuite Samples Client-Side Initialization DHTMLX Docs

Samples Client-Side Initialization

Grid

myGrid = new dhtmlXGridObject("myContainer");
//... grid configuration commands
myGrid.load("connector.cfm");

TreeGrid

Static mode

myGrid = new dhtmlXGridObject("myContainer");
myGrid.setColTypes("tree,...");
//...grid configuration commands
myGrid.load("connector.cfm");

Dynamic mode

myGrid = new dhtmlXGridObject('myContainer');
myGrid.setColTypes("tree,...");
//...
myGrid.kidsXmlFile="connector.php";
myGrid.load("connector.cfm");

Tree

Static mode

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

Dynamic mode

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

Combo

Static mode

var combo=new dhtmlXCombo("combo_zone2","alfa2",200);
combo.load("connector.cfm");

Auto-complete mode

var combo=new dhtmlXCombo("combo_zone2","alfa2",200);
combo.enableFilteringMode(true,"connector.cfm",true);
combo.load("connector.cfm");

Scheduler

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

Form

var form = new dhtmlXForm(someId);
form.load("connector.cfm");

DataView

var view = new dhtmlXDataView({...});
view.load("connector.cfm");

Chart

var mychart = new dhtmlXChart({...});
mychart.load("connector.cfm");
Back to top