DHTMLX Docs & Samples Explorer

List of initialization properties

Common initialization options

  • parent - string or object, id of container, where tree will be initialized, mandatory
  • skin - string, skin name
  • view - string, view name
  • image_path - {boolean} sets path to images(setImagePath)
  • animation - {string} sets effect(setEffect)

Events

any event can be assigned by using property equal to event name

	layout = new dhtmlXLayoutObject({
		parent:"a_tree",
		onExpand:function(){
			alert("I'm clicked");	
		}
	});