dhtmlXTree是一个功能比较强大的树控件,基本上能满足大部分常规需求,比较好用。 dhtmlXTree常用函数的说明: 构造函数 dhtmlXTreeObject(htmlObject, width, height, rootId)//rootId 虚拟根节点,在界面上不会显示,一般取值0 replace IMG tag with background images - solve problem with IE image caching , not works for IE6 SP1 enableIEImageFix(mode) 析构函数 destructor() 实现继承 clone() 节点构造函数 dhtmlXTreeItemObject(itemid,itemText,parentObject,treeObject,actionHandler,mode)// mode - do not show images 从xml字符串加载树 loadXMLString(xmlString,afterCall)//afterCall - function which will be.