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("myconnector.php");

treeGrid

static mode

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

dynamic mode

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

tree

static mode

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

dynamic mode

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

combo

static mode

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

auto-complete mode

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

scheduler

scheduler.init(some_obj)
scheduler.load("connector.php");
Back to top