I couldn’t help but notice the dhtmlxTree with a beautiful background image of an airplane that is displayed on the main dhtmlx.com web page.
Do you have example code for a dhtmlxTree with a background image?
Thank you,
Terbeaux333
You can assign any bg image to the container of tree through normal style rules.
<div id=“treeboxbox_tree” style=“width:250px; height:218px;background-image:url(Sky00000.jpg);”>
Sample is attached
1252931860.zip (46.8 KB)
After I posted, I figured you would post the above answer. Do you have
a way to do it with a tree attached to a Windows dhtmlXLayoutObject?
Such as:
myTree = outerLayout.cells(“a”).attachTree(“0”)
Thanks,
Terbeaux333
Yep, it can be done as
myTree = outerLayout.cells(“a”).attachTree(“0”)
myTree.parentObject.style.backgroundImage=“url(some.jpg)”;