Scand LLC grants to you ("Licensee") a nonexclusive, nontransferable, worldwide, royalty-free license to use this version of dhtmlxTree (the "Software").
-
-
The Licensee has the right to use the software only in ONE commercial project (for one License). It is possible to use the software on any Website unlimited number of times but within the ONE commercial project (application). "Website" and "site" means the technology, and is not limited by internet sites, it also includes intranet and extranet websites. When referred to a site, a site means a location where all the web pages share a single fully qualified domain name.
-
-
The Licensee has the right to apply for free-of-charge support (consultations) on the product within 1 month since purchasing the product and also free-of-charge elimination of any found bugs during the same period.
-
-
Modifications to the software are allowed, as long as they do not conflict with the license, but distribution of the modified software or part(s) of it as standalone application is forbidden. A non-exclusive royalty-free right is granted to the initial developer of the Software to use, modify and distribute your modification in future versions of the Software.
-
-
-
a) specific restrictions
-
The licensee is not permitted to distribute the component or its part(s) in any fashion which would promote, encourage or allow reuse or redistribution of the JavaScript component.
-
b) general restrictions
-
Software may not be transferred, leased, assigned, or sublicensed, in whole or in part.
-
IF THESE RESTRICTIONS ARE NOT ALLOWED BY YOUR RESPECTIVE LAW THEN CONTACT SCAND LLC TO CHECK IF THE RESTRICTIONS CAN BE RELAXED IN YOUR CASE. THE RELAXATION CAN ONLY BE GIVEN BY WRITTEN CONSENT.
-
c) disclaimer of warranty
-
The Software is provided "AS IS," without a warranty of any kind.
-
ALL EXPRESS OR IMPLIED REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED.
-
IF THIS DISCLAIMER IS NOT ALLOWED BY YOUR RESPECTIVE LAW THEN CONTACT SCAND LLC TO CHECK IF THE DISCLAIMER CAN BE RELAXED IN YOUR CASE. THE RELAXATION CAN ONLY BE GIVEN BY WRITTEN CONSENT.
-
d) limitation of liability.
-
IN NO EVENT WILL SCAND LLC BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES HOWEVER CAUSED AND REGARDLESS OF THEORY OF LIABILITY ARISING OUT OF THE USE OF, INABILITY TO USE OR DOWNLOADING OF THE SOFTWARE, EVEN IF SCAND LLC HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
IF THIS LIMITATION IS NOT ALLOWED BY YOUR RESPECTIVE LAW THEN CONTACT SCAND LLC TO CHECK IF THE LIMITATION CAN BE RELAXED IN YOUR CASE. THE RELAXATION CAN ONLY BE GIVEN BY WRITTEN CONSENT.
-
-
2. COPYRIGHT
-
-
SCAND LLC and its licensors retain all ownership rights to the software and related documentation. Use of the software and related documentation is governed by the license agreement accompanying the software and applicable copyright law.
-
The documentation must always follow the related software. Making unauthorized copies, adaptations, or compilation works is prohibited. SCAND LLC may revise this documentation from time to time without notice.
-
THIS DOCUMENTATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. IN NO EVENT SHALL SCAND LLC BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF BUSINESS, LOSS OF USE OR DATA, INTERRUPTION OF BUSINESS, OR FOR INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY KIND, ARISING FROM ANY ERROR IN THIS DOCUMENTATION.
-
This means that the software and documentation come with no warranty, without any limitation. No liability of any kind can be accepted and this the fullest extent. If your law doesn't allow this, then do not use this software and documentation.
Scand LLC grants to you ("Licensee") a nonexclusive, nontransferable, worldwide, royalty-free license to use this version of dhtmlxTree (the "Software").
-The Licensee has the right to use the Software in any number of projects (applications) any number of times per each, but only developed by the ONE company (for one license).
-
-
-
The Licensee has the right to apply for free-of-charge support (consultations) on the product within 1 year since purchasing the product and also free-of-charge elimination of any found bugs during the same period.
-
-
Modifications to the software are allowed, as long as they do not conflict with the license, but distribution of the modified software or part(s) of it as standalone application is forbidden. A non-exclusive royalty-free right is granted to the initial developer of the Software to use, modify and distribute your modification in future versions of the Software.
-
-
a) specific restrictions
-
-
The Licensee is not permitted to distribute the component or its part(s) in any fashion which would promote, encourage or allow reuse or redistribution of the JavaScript component.
-
-
b) general restrictions
-
Software may not be transferred, leased, assigned, or sublicensed, in whole or in part.
-
-
IF THESE RESTRICTIONS ARE NOT ALLOWED BY YOUR RESPECTIVE LAW THEN CONTACT SCAND LLC TO CHECK IF THE RESTRICTIONS CAN BE RELAXED IN YOUR CASE. THE RELAXATION CAN ONLY BE GIVEN BY WRITTEN CONSENT.
-
-
c) disclaimer of warranty
-
-
The Software is provided "AS IS," without a warranty of any kind.
-
ALL EXPRESS OR IMPLIED REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED.
-
IF THIS DISCLAIMER IS NOT ALLOWED BY YOUR RESPECTIVE LAW THEN CONTACT SCAND LLC TO CHECK IF THE DISCLAIMER CAN BE RELAXED IN YOUR CASE. THE RELAXATION CAN ONLY BE GIVEN BY WRITTEN CONSENT.
-
d) limitation of liability.
-
IN NO EVENT WILL SCAND LLC BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES HOWEVER CAUSED AND REGARDLESS OF THEORY OF LIABILITY ARISING OUT OF THE USE OF, INABILITY TO USE OR DOWNLOADING OF THE SOFTWARE, EVEN IF SCAND LLC HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
IF THIS LIMITATION IS NOT ALLOWED BY YOUR RESPECTIVE LAW THEN CONTACT SCAND LLC TO CHECK IF THE LIMITATION CAN BE RELAXED IN YOUR CASE. THE RELAXATION CAN ONLY BE GIVEN BY WRITTEN CONSENT.
-
-
2. COPYRIGHT
-
SCAND LLC and its licensors retain all ownership rights to the software and related documentation. Use of the software and related documentation is governed by the license agreement accompanying the software and applicable copyright law.
-
The documentation must always follow the related software. Making unauthorized copies, adaptations, or compilation works is prohibited. SCAND LLC may revise this documentation from time to time without notice.
-
THIS DOCUMENTATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. IN NO EVENT SHALL SCAND LLC BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF BUSINESS, LOSS OF USE OR DATA, INTERRUPTION OF BUSINESS, OR FOR INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY KIND, ARISING FROM ANY ERROR IN THIS DOCUMENTATION.
-
This means that the software and documentation come with no warranty, without any limitation. No liability of any kind can be accepted and this the fullest extent. If your law doesn't allow this, then do not use this software and documentation.
-
-
-
diff --git a/phpgwapi/js/dhtmlxtree/License_GPL.txt b/phpgwapi/js/dhtmlxtree/License_GPL.txt
deleted file mode 100644
index 947e61d70c..0000000000
--- a/phpgwapi/js/dhtmlxtree/License_GPL.txt
+++ /dev/null
@@ -1,72 +0,0 @@
-GNU GENERAL PUBLIC LICENSE
-Version 2, June 1991
-
-Copyright (C) 1989, 1991 Free Software Foundation, Inc.
-59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
-
-Everyone is permitted to copy and distribute verbatim copies
-of this license document, but changing it is not allowed.
-
-
-TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
-
-1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
-
-2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
-
-
-a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
-
-b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
-
-c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
-These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
-
-3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
-
-a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
-
-b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
-
-c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
-The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
-
-If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
-
-4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
-
-5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
-
-6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
-
-7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
-
-It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
-
-This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
-
-8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
-
-9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
-
-10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
-
-NO WARRANTY
-
-11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
-12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
diff --git a/phpgwapi/js/dhtmlxtree/License_OpenSource.html b/phpgwapi/js/dhtmlxtree/License_OpenSource.html
deleted file mode 100644
index 3e0e20a4e6..0000000000
--- a/phpgwapi/js/dhtmlxtree/License_OpenSource.html
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
- dhtmlxTree Open Source License
-
-
-
-
dhtmlxTree Open Source License
-
-
1. LIMITED LICENSE GRANT.
-
-
Scand LLC grants to you ("Licensee") a nonexclusive, nontransferable, worldwide, royalty-free license to use this version of dhtmlxTree Professional Edition (the "Software") in open-source project.
-
-
The Licensee has the right to use the software only in ONE open-source project (for one License). It is possible to use the software on any Website unlimited number of times but within the ONE open-source project (application). "Website" and "site" means the technology, and is not limited by internet sites, it also includes intranet and extranet websites. When referred to a site, a site means a location where all the web pages share a single fully qualified domain name.
-
-
The Licensee has the right to apply for free-of-charge support (consultations) on the product within 3 months since purchasing the product and also free-of-charge elimination of any found bugs during the same period.
-
-
Modifications to the software are allowed, as long as they do not conflict with the license, but distribution of the modified software or part(s) of it as standalone application is forbidden. A non-exclusive royalty-free right is granted to the initial developer of the Software to use, modify and distribute your modification in future versions of the Software.
-
-
-
a) specific restrictions
-
The licensee is not permitted to distribute the component or its part(s) in any fashion which would promote, encourage or allow reuse or redistribution of the JavaScript component.
-
The Licensee is not permitted to distribute the Software in source code form together with open-source product. Modified javascript files should be obfuscated using jsShreder utility (provided by Scand LLC for free) before including into distributed product.
-
b) general restrictions
-
Software may not be transferred, leased, assigned, or sublicensed, in whole or in part.
-
IF THESE RESTRICTIONS ARE NOT ALLOWED BY YOUR RESPECTIVE LAW THEN CONTACT SCAND LLC TO CHECK IF THE RESTRICTIONS CAN BE RELAXED IN YOUR CASE. THE RELAXATION CAN ONLY BE GIVEN BY WRITTEN CONSENT.
-
c) disclaimer of warranty
-
The Software is provided "AS IS," without a warranty of any kind.
-
ALL EXPRESS OR IMPLIED REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED.
-
IF THIS DISCLAIMER IS NOT ALLOWED BY YOUR RESPECTIVE LAW THEN CONTACT SCAND LLC TO CHECK IF THE DISCLAIMER CAN BE RELAXED IN YOUR CASE. THE RELAXATION CAN ONLY BE GIVEN BY WRITTEN CONSENT.
-
d) limitation of liability.
-
IN NO EVENT WILL SCAND LLC BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES HOWEVER CAUSED AND REGARDLESS OF THEORY OF LIABILITY ARISING OUT OF THE USE OF, INABILITY TO USE OR DOWNLOADING OF THE SOFTWARE, EVEN IF SCAND LLC HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
IF THIS LIMITATION IS NOT ALLOWED BY YOUR RESPECTIVE LAW THEN CONTACT SCAND LLC TO CHECK IF THE LIMITATION CAN BE RELAXED IN YOUR CASE. THE RELAXATION CAN ONLY BE GIVEN BY WRITTEN CONSENT.
-
-
2. COPYRIGHT
-
-
SCAND LLC and its licensors retain all ownership rights to the software and related documentation. Use of the software and related documentation is governed by the license agreement accompanying the software and applicable copyright law.
-
The documentation must always follow the related software. Making unauthorized copies, adaptations, or compilation works is prohibited. SCAND LLC may revise this documentation from time to time without notice.
-
THIS DOCUMENTATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. IN NO EVENT SHALL SCAND LLC BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF BUSINESS, LOSS OF USE OR DATA, INTERRUPTION OF BUSINESS, OR FOR INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY KIND, ARISING FROM ANY ERROR IN THIS DOCUMENTATION.
-
This means that the software and documentation come with no warranty, without any limitation. No liability of any kind can be accepted and this the fullest extent. If your law doesn't allow this, then do not use this software and documentation.
mode - mode name as string . Possible values: child - child, no recursive; leafs - child without subchilds, no recursive; ,childrec - child, recursive; leafsrec - child without subchilds, recursive; disabled (disabled by default)
setDragBehavior(mode)
- [Professional]
- set Drag-And-Drop behavior (child - drop as chils, sibling - drop as sibling, complex - complex drop behaviour )
drag-&-drop (within one treegrid, between treegrids)
-
checkboxes (two/three states)
-
customizable icons (with javascript or xml)
-
user data for nodes
-
high stability
-
Macromedia Cold Fusion support
-
-
-
Supported browsers
-
IE 5.x and above
-
Mac OS X Safari
-
Mozilla 1.4 and above
-
FireFox 0.9 and above
-
Opera (Xml loading depends on browser version)
-
-
-
Working with dhtmlXTreeGrid
-
-
Initialize object on page
-
-
-
-
- Parameters passed to the constructor are:
-
object to attach treegrid to (should be loaded before calling constructor)
-
width of the treegrid
-
height of the treegrid
-
identifier of level parent to treegrid root level
- Specify Additional parameters of the treegrid:
-
setImagePath(url) - method specifies the path to the folder with treegrid icons
-
enableCheckBoxes(mode) - enable/disable checkboxes in treegrid (checkboxes appear by default)
-
-
-
Set Event Handlers
-
-
-
-
-
Selected node ID will be passed to function specified as argument for setDefaultAction(funcObj)
-
Dropped node ID and new parent node ID will be passed to function specified as argument for setDragFunction(funcObj)
-
node ID and node state will be passed to the function specified as argument for setOpenAction(funcObj,state)
-
node ID will be passed to the function specified as argument for setDblClickAction(funcObj)
-
-
-
Adding nodes with Script
-
-
-
-
0s passed to the function for arguments 4-7 (function to call on select, images) mean use default values for them
-
Last argument is a comma delimited string of following possible value (upper case only):
-
SELECT - move selection to this node after inserting
-
CALL - call function on select
-
TOP - add node to the top position
-
CHILD - node has children
-
CHECKED - checkbox is checked (if exists)
-
-
-
Loading data with XML
-
-
-
-
ID of opened node (as id url parameter) will be added to URL specified in initXMLAutoLoading(url) during the call
-
No additional ID is added to the url specified in loadXML(url) method during the call
-
Using loadXML() without parameters you load url specified in initXMLAutoLoading(url) method
-
-XML Syntax:
-
-
-
- true
-
-
-
-
-
-
- <tree> node is mandatory. It specifies the parent of loading block of data. According to this its id parameter specifies the ID oth that parent.
- To load root level you need to specify the ID you used when created tree object: new myObjTree(boxObject,width,height,0)
-
- <item> can contain subitems (in order to load more than one level at once) or not.
- Mandatory parameters for this tag are:
-
text - label of the node
-
id - id of the node
- Optional parameters for this tag are:
-
im0 - image for node without children (tree will get images from the path specified in setImagePath(url) method)
-
im1 - image for opened node with children
-
im2 - image for closed node with children
-
-
select - select node on load (0/1)
-
call - call function on select(0/1)
-
checked - check checkbox if exists(0/1)
-
child - spec. if node has children (1) or not (0)
- To set userdata directly within XML use <userdata>
- It has just one parameter:
-
name
- and value to specify userdata value
-
-
-
Setting custom icons to nodes
- There are two ways to set custom icons for the node. And it depends on the way you add items.
- Important: tree will get images for the nodes from the path specified in setImagePath(url) method.
-
- Javascript way. Using arguments of insertNewChild(...) or insertNewNext(...) methods:
-
-
-
- XML way. Using parameters of <item> tag:
-
-
-
-
-
-
-
im0 - image for node without children (tree will get images from the path specified in setImagePath(url) method)
-
im1 - image for opened node with children
-
im2 - image for closed node with children
-
-
-
Building dynamic tree
- If your tree should contain large amount of nodes (or you simply do not want to waist time loading hidden nodes), it would be better to load them on demand, not at once.
- For this purpose we made the tree to load levels dynamically using XML.
- See chapter "Loading data with XML"
-
-
-
-
-
Manipulating nodes
- A few examples of manipulating node with tree object methods:
-
-
-
-
-
-
-
-
-
Cold Fusion Tag for dhtmlXTree
-
-
- ...configuration xml...
-
-
-
name - [optional] name of the tree js object to use in javascript, if skiped, then name autogenerated
-
width - [optional] width of the tree (definitely it sets the with of the tree box, leaving the with of the tree itself by 100%)
-
height - [optional] height of the tree
-
JSPath - [optional] absolute or relative path to directory which contains tree js files, "js" directory by default
-
CSSPath - [optional] absolute or relative path to directory which contains tree css files, "css" directory by default
-
iconspath - [optional] absolute or relative path to directory which contains tree icon files, "img" directory by default
-
xmldoc - [mandatory for xml loading] url of the xml file used to load levels dynamically
-
checkboxes - [optional] show checkboxes (none, twoState, threeState)
-
-
-
-
- In most cases functions specified inside event handlers get some values with the arguments. For details about passed arguments please refer to API documentation.
-
ID of opened node (as id url parameter) will be added to URL specified in initXMLAutoLoading(url) during the call
-
No additional ID is added to the url specified in loadXML(url) method during the call
-
Using loadXML() without parameters you load url specified in initXMLAutoLoading(url) method
-
-XML Syntax:
-
-
-
- true
-
-
-
-
-
-
-
-In PHP script use the following code for page header:
-
-\n");
-?>
-
-
- <tree> node is mandatory. It specifies the parent of loading block of data. According to this its id parameter specifies the ID oth that parent.
- To load root level you need to specify the ID you used when created tree object: new myObjTree(boxObject,width,height,0)
-
- <item> can contain subitems (in order to load more than one level at once) or not.
- Mandatory parameters for this tag are:
-
text - label of the node
-
id - id of the node
- Optional parameters for this tag are:
-
tooltip - tooltip for the node
-
im0 - image for node without children (tree will get images from the path specified in setImagePath(url) method)
-
im1 - image for opened node with children
-
im2 - image for closed node with children
-
acolor - colour of not selected item
-
scolor - colour of selected item
-
-
select - select node on load (any value)
-
open - show node opened (any value)
-
call - call function on select(any value)
-
checked - check checkbox if exists(any value)
-
child - spec. if node has children (1) or not (0)
-
imheight - height of the icon
-
imwidth - width of the icon
-
-To set userdata directly within XML use <userdata>
- It has just one parameter:
-
- There are two ways to set custom icons for the node. And it depends on the way you add items.
- Important: tree will get images for the nodes from the path specified in setImagePath(url) method.
-
- Javascript way. Using arguments of insertNewChild(...) or insertNewNext(...) methods:
-
-
-
- XML way. Using parameters of <item> tag:
-
-
-
-
-
-
-
im0 - image for node without children (tree will get images from the path specified in setImagePath(url) method)
- If your tree should contain large amount of nodes (or you simply do not want to waist time loading hidden nodes), it would be better to load them on demand, not at once.
- For this purpose we made the tree to load levels dynamically using XML.
- See chapter "Loading data with XML"
- or for more details "Dynamical Loading in dhtmlxTree v.1.x" article from our Knowledge Base.
-
-Serialization methods allows getting tree in xml representation (xml string). Various levels of serializations define the number of tree parameters reflected in resulting XML:
-
-
-
-
-
-To move Item programaticaly developer can use the following ways:
-
-To move upp/down/left:
-
- tree.moveItem(nodeId,mode)
-
-mode possible values are:
-
"down" - move node down in list of nodes (do not pay attention on hierarchy)
-
"up" - move node up in list of nodes
-
"left" - move node up in hierarchy
-
-
-To move directly into position (within tree)
-
- tree.moveItem(nodeId,mode,targetId)
-
-mode possible values are:
-
"item_child" - place node as child of node specified in third argument
-
"item_sibling" - place node as sibling of node specified in third argument
-targetId - id of target node.
-
-
-To move node into position (to another tree)
-
- tree.moveItem(nodeId,mode,targetId,targetTree)
-
-mode possible values as above.
-targetId - id of target node (in target tree).
-targetTree - target tree object
-
-Cut/Paste way
-Another way is to use doCut(),doPaste(id) - but this works with selected item only. Developer can also delete node in one place and create it in other (also the way ;-)).
-To give users the possibility to move items use drag-n-drop functionlity.
-
-There is a possibility to display item children elements counter with the label of the node. To activate this feature use the following:
-
-
-
-Possible modes are:
-
"child" - all childs on this level
-
"leafs" - all childs without subchilds on this level
-
"childrec" - all childs
-
"leafsrec" all childs without subchilds
-
"disabled" - nothing
-
-Other related methods:
-_getChildCounterValue(itemId) - get current counter value
-setChildCalcHTML(before,after) - html around counter to change default [x]
-Use child attribute in xml if you need to set counter value when using dynamical loading.
-
-
-The idea of Smart XML Parsing is simple - the entire tree structute loaded on client side, but only nodes which should be displayed are rendered. This helps to dramaticaly decrease loading time and general performance of large trees. Plus - in the contrary to Dynamical Loading - entrire tree structure is available for most of script methods (for example Search performed agains all nodes - not only rendered). To activate Smart XML Parsing use the following method:
-
-
-
-Smart XML Parsing do not work if tree loaded fully expanded.
-
-dhtmlxTree support two or three state checkboxes. Three state checkboxes means: checked/unchecked/some-child-checked (not all).
-To enable three state checkboxes use the following method:
-
-
-
-Using three-state checboxes with smart xml parsing you need to specify third state manually (checked="-1"):
-
-
-
-
-
-
-Checkboxes can be disabled - disableCheckbox(id,state)
-Some node can hide checkboxes - showItemCheckbox(id,state) (nocheckbox xml attribute)
-
-
-There are three modes of drag-n-drop (set with setDragBehavior(mode)):
-
Drop as child - "child"
-
Drop as sibling - "sibling"
-
Complex mode (both previous are active) - "complex"
-Plus two modes of each of them:
-
1. Common drag-n-drop
-
2. Copy with drag-n-drop - tree.enableMercyDrag(1/0)
-All modes can be changed on the fly.
-
-
Event handlers
-To process drag-n-drop before drop occured use onDrug event handler - setDragHandler(func). If func doesn't return true, drop will be canceled.
-After drop occured there is another event - onDrop - handle it using setDropHandler(func).
-Both event handlers pass 5 parameters into the func object:
-
-Drag-n-drop between iframes enabled by default. All you need to do additionaly is to insert the following code into the page where no tree exists:
-
-
-
-
-
-Taking into account the general low performance of DHTML we introducrd two ways of increasing performance of large trees:
-1. Dynamical Loading
-2. Smart XML Parsing
-Also be sure your tree was organized well - putting a lot of items on one level of the branch makes tree difficalt for visual perception and decrease performance.
-
-There is built in context menu in dhtmlxTree. The content of this menu can be set with XML or script. For changing context menu content depending on tree item developer can implement function for hidding/showing items of the same menu or associate different menues with different items. To enable context menu do the following:
-
-
-
-
-You can sort nodes in dhtmlxTree Pro (necessary file: dhtmlXTree_sb.js) using follwoing ways:
-Sort by label text (if no custom comparator specified)
-
- tree.sortTree(nodeId,order,all_levels);
-
-
nodeId - parent of the level to start sorting from (id of superroot for entire tree)
-
order - sort direction: "ASC"/"DES"
-
all_levels - if true, then all sublevels will be processed as well
-
-Custom defined sorting
-
- //define your comparator (in our case it compares second words in label)
- function mySortFunc(idA,idB){
- a=(tree.getItemText(idA)).split(" ")[1]||"";
- b=(tree.getItemText(idB)).split(" ")[1]||"";
- return ((a>b)?1:-1);
- }
- tree = new ...
- //attach your comparator to the tree
- tree.setCustomSortFunction(mySortFunc);
-
-Comparator function gets 2 nodes IDs. Use your tree object there and these IDs to return a comparison result.
-
-If custome comparator was specified, then tree.sortTree(...) method uses it for sorting.
-
-
-Search functionality of dhtmlxTree allows moving focus on node with label fitting searchString mask.
-Has support for Smart XML Parsing.
-Script syntax:
-
- tree.findItem(searchString); //find item next to current selection
- tree.findItem(searchString,1,1)//find item previous to current selection
- tree.findItem(searchString,0,1)//search from top
-
-Example of usage is included in Professional Edition package – samples/treeExPro2.html.
-
-...allows displaying tree items in multiline mode. For now it is recommended to turn tree lines off for better appearance. To enable multiline feature you need to do the following:
-
- tree.enableTreeLines(false);
- tree.enableMultiLineItems(true);
-
-Example of usage is included in professional edition package – samples/treeExPro6.html.
-
-There is a way to set icons for the node explicetly using script (setItemImage,setItemImage2) or xml (im0,im1,im2 attributes of item node):
-
im0 - item without children
-
im1 - closed item with children
-
im2 - opened item with children
-
Set Icon Size
-There is a way to set icon size for the whole tree or each node using script or xml:
-
-XML syntax for icon size per each item (optional):
-
-
-Script syntax:
-
- tree.setIconSize(w,h);//set global icon size
- tree.setIconSize(w,h,itemId)//set icon size for particular item
-
-
Dynamical loading means loading data on request. You
-can split your data into parts by levels and decrease loading time this way.
-For example initial xml document will be as follows:
-
-
-
-
-
Just add parameter child=”1” to all nodes which have
-dependent elements (children) and child=”0” to all nodes without children.
<item
-text=”Low income countries” id=”a333” im0=”book_titel.gif” … child=”0”>
-
-
</tree>
-
-
-
-
-
-
-
-
As dynamical loading needs to process incoming url parameters to work really useful, it would be good to
-use some server side programming language like ASP, ColdFusion, JSP or any
-other. This is necessary on next stage.
-
-
-
-
If you use XML for building the tree, then you already
-used the method
-
-
tree.setXMLAutoLoading(url)
-
-
When user trying to open node with child=”1” tree
-looks for data on client side first – if no data found, then it goes to server
-using URL specified in method mentioned above with id of node added to it,
-like: http://127.0.0.1/myTree/tree.cfm?id=a1,
-where “a1” is id of the node which should be opened. So, here you need a server
-side language to process incoming id parameter and to put just required part of
-XML into response (in our case the xml contains next level of a1 node):
The same should be repeated for each level and each
-node that has children. If you xml contains data from Database, it would be
-much better to generate xml on request directly from db – otherwise you’d
-better use the following way to reduce the number of parts:
-
-
-
-
You can split your xml document in any number of parts
-(maximum – all levels, minimum - 1). For example you can load not only next
-level of children for a1, but the
-whole branch started from the level next to a1.
-In thiscase initial loading of
-the tree will be rather fast, as you load just one level, then if user opens
-some node, the whole branch will be loaded (but not the whole tree), so in any way it is much faster than load the whole tree on
-start.
May I use dhtmlxTree Standard Edition in my commercial projects for free?
-
-
No. To use any edition in commercial project you need to purchase a Commercial or Enterprise License.
-
-
How much does the professional version cost? Is it included with the commercial license?
-
-
You'll get Professional Edition when you purchase Commercial ($99) or Enterprise ($399) License.
-
-
What is the difference between Commercial and Enterprise Licenses?
-
-
There are two main differences:
-
According to Enterprise license you may use dhtmlxTree in any number of your projects, whereas Commercial License allows using dhtmlxTree in one project per license
-
Supporting period (as well as period of free upgrade) is 1 month for Commercial and 1 year for Enterprise License.
-
-
How can I get Professional Edition of dhtmlxTree?
-
-
To get Professional Edition of dhtmlxTree you need to purchase Commercial or Enterprise License. Right after that you'll get Professional Edition together with additional sample files by email.
-
-
Are the "pro" features available in the file downloaded from the site for evaluation, or do we have to buy a different file to try it out?
-
-
You can download only Standard Edition from the site. If you want to evaluate Professional Edition please write us - info@scbr.com
-
-
Will I get commented not obfuscated sources together with Professional Edition?
-
-
Yes.
-
-
Is there some special documentation available with Professional Edition?
-
-
No. There is only one variant of documentation. All methods specific for Professional Edition marked in documentation with red colored text "Professional" or "Commercial".
-
-
May I modify dhtmlxTree and use modified files in my project?
-
-
Yes you may. At the same time according to the License Scand LLC remains the owner of all modifications in the code.
-
-
How to buy dhtmlxTree License?
-
-
Please send email to info@scbr.com and you'll get necessary instructions right away.
-
-
May I distribute dhtmlxTree as a part of my application? What License do I need for this? Should I buy additional License for each copy of my application?
-
-
You may distribute dhtmlxTree as a part of you application if this application is not competitor to dhtmlxTree. You can use either Commercial or Enterprise License. Only one license necessary for one application - irregardless to number of copies sold.
-
-
My licensing question regards including your dhtmlxtree code in a commercial product which will be redistributed and run on clients' machines. I'm curious whether this would require a license on each client machine, or whether my company would simply need to license the code once for inclusion in the code base.
-
-
Only once.
-
-
Can we modify dhtmlxTree code and/or change some functionalities in order to match our requirements.
-
-
Modifications to the software are allowed, and you may distribute it as a part of your application, but distribution of the modified software as a standalone component or as a part of concurrent software is forbidden.
How can I load xml dynamically, so that the loading gets done more quickly?
-
-
-As you know dhtmlXTree supports dynamical loading for such purposes. Dynamical loading means loading data on request. To make tree do this use method tree.setXMLAutoLoading(url)
-In this case your xml should contain only necessary nodes. For example initial xml should contain only nodes of top level. To let the tree know that some node has children, use child="1". Like this:
-
-
-
- ...
-
-
-
-When user trying to open node which has children, tree looks for data on client side first - if no data found, then it goes to server using URL specified in method mentioned above with ID of node added to it, like: http://127.0.0.1/myTree/tree.cfm?id=a1, where "a1" is ID of the node which should be opened. Using this ID you can create another xml, which contains only child nodes of opening node. Like this:
-
-
-
- ...
-
-
-
-As dynamical loading needs to process incoming url parameters and generate xml file content based on it to work really useful, it would be good to use some server side programming language like ASP, ColdFusion, JSP, PHP or any other for this.
-
-
-
Is there any solution for increasing tree performance when it contains hundreds or thousands of nodes?
-
-
There are two ways:
-
Dynamical loading. In this case tree contains only nodes which were already opened and it doesn't really matters how much nodes are in the datasource .
-
Advanced XML Processing (available in Professional edition). In this case the whole xml documents loaded on client side, but only nodes which are visible are created in tree. This increases performance and decreases loading time.
-
-
What happens is that the nodes get drawn as siblings of the root and not as children of the expanded node.
-
-
The reason is in xml file. It always contains the same ID of parent element: , but it should be
-
-
Dynamical Loading always loads the whole tree and adds it to existing one.
-
-
XML file for initial loading should contain ONLY top level of the tree, xml that loads children should contain ONLY necessary nodes - so in most cases it generated with some server side routine using incoming "id" of parent node (node that was opened) which is passed to the file while calling it.
-
-
I've created simple xml containig 10 000 nodes and ... after 30second IE almost breaks down with a warning
-
-
As performance is a weak place of DHTML, we implemented two ways of processing big trees. First is dynamical loading - xml loaded from server by parts (on request). This feature available in all editions. Second is "advanced xml processing" - xml loaded at once, but processed by parts on request. This feature available in pro edition only.
Is there any way to rearrange the nodes without reloading the tree?
-
-
You can rearrange nodes with script (moveItem method) or using drag-n-drop (drop-as-sibling type)
-
-
Can we use different drag-n-drop types for different nodes? For example we need drop-as-sibling for files and drop-as-child for folders.
-
-
You can switch the drop mode on-the-fly. Using onDrag or onDrop event handlers you can manage the active mode based on some specificity of node which is dragged or dropped. To identify the type of the node you can use userData property of the node, which can be set with xml or with javascript: setUserData(itemId,name,value). Any time you can get the value of any block of user data of any node using getUserData(id,name)
-
-
Can I drag and drop either the node's id or value into the html text input field?
-
-
Yes, this is possible. Any page control can be set as "landing zone". Here is an example:
-
-
-
-
-
-
It seems that your tree does not make a distinction between "files" and "folders". If I drag a "file" onto another "file", it becomes a "folder".
-
-
Generally the tree can only output data, it knows nothing about files or folders - you need to supply it with additional data and manage its behavior with script to get functionality you need.
-First you need to specify what nodes are files and what are folders using UserData (invisible data blocks that you can assign to any node). In your xml file use syntax like this:
-
-
-
- 1
-
- 0
-
-
- ...
-
-
-In script you can manipulate this data using script methods:
-
-tree.getUserData(nodeId,key), for example:
-
- function doOnSomeEvent(id){
- If(yourTree.getUserData(id,"folder")=='0')
- alert("This was file")
- else
- alert("This was folder")
- }
-
-This way you can cancel drop event for files:
-
-tree.setDragFunction(doOnDrop);
-function doOnDrop(nodeId,parentId){
- if(tree.getUserData(parentId,"folder")=="0")
- return false;
-}
-
-For more details about eventHandlers see "Set Event Handlers" chapter of Tree documentation.
-
-
-
How to collapse all nodes in the tree.
-
-
To collapse all root nodes (nodes of first level) in the tree you need to close them all one by one:
-
- function closeAllRoots(){
- var rootsAr = tree.getSubItems(0).split(",")
- for(var i=0;i
-where "0" is ID of Super Root level.
-
-
Is there a way to get a modified tree back to xml?
-
-
Yes, you can use serializeTree() method for this. It returns xml string.
-
-
How can I have different nodes call different functions when clicked?
-
-
You can use userData to keep function name for each node. In onclick event handler get this name and evaluate it.
-
-
How to create nodes in tree and save them to db at the same time?
-
-
1. user clicks button "add new item" (or whatever you have for this)
-2. create node in the tree with some unique identifier, like "newnodeid" and label like "New" or something. (Do not forget to call open node method before this if you use dynamical loading, inserting node as child and parent node was never opened before)
-3. move selection to the node with calling onclick function (last parameter should be true)
-4. determine that node id is "newnodeid" and load the form for creating new item.
-5. when form was submitted and data was saved on server return the page with added javascript block which should rename selected node according to entered name or whatever you need as a node label, set new node id - according to created record id (or whatever you have as node ids).
-6. Delete and update should be done very likely.
-7. Do not forget the main principle - update the tree after database was updated.
-
-
Can we limit the "maximum depth" of the tree to disallow child-dropping beyond a certain number of sub-nodes?
-
-
You can get the level of the node in onDrop event handler and cancel drop if it exceeds maximum allowed.
-
-
Can we use HTML as a node label?
-
-
Yes.
-
-
Serialization of the modified trees - how does that work?
-
-
Using serializeTree() method you can get back tree structure as xml string. In version 1.1 it serializes node text, icons, state, order, selection. Version 1.2 will support serialization of userData, checkboxes.
Yes, Professional Edition has the ability to save tree state into cookies and restore it. There are two types of this functionality:
-
save the whole tree (not good for large trees as cookies has size limit)
-
save only opened/closed/selected state.
-
-
Is there any ability to use context menu (right-click menu) with dhtmlxTree
-
-
Context menu implemented into dhtmlxTree v.1.1 Professional Edition - the content of the menu can be defined with xml or javascript and can be managed with javascript.
-
-
What is Super Root in the dhtmlxTree?
-
-
When you create tree from constructor function, there is 4th parameter which represents the ID of Super Root element. Usually it is "0". Super Root is invisible level of the tree - the parent element for elements of first visible level ("root level").
-
-
Is it possible to use multiple-lines for a dhtmlxTree node?
-
-
Yes, there is such possibility in Professional Edition. The only limitation for current version - tree should not have dotted lines which visually link nodes (they should be turned off using enableTreeLines(false)) - otherwise appearance will be damaged.
-
-
I use various dhtmlX components on one page - tree, toolbar, menu. All of them have dhtmlxCommon.js file. Is it the same for all of them?
-
-
Yes, it is the same and you can get it either from tree package or from menu, toolbar - any dhtmlX component. If you have different versions of this file - would be better to use most recent.
mode - mode name as string . Possible values: child - child, no recursive; leafs - child without subchilds, no recursive; ,childrec - child, recursive; leafsrec - child without subchilds, recursive; disabled (disabled by default)
setDragBehavior(mode)
- [Professional]
- set Drag-And-Drop behavior (child - drop as chils, sibling - drop as sibling, complex - complex drop behaviour )
mode - enabled/disabled [ can be true/false/temporary_disabled - last value mean that tree can be D-n-D can be switched to true later ]
enableDragAndDropScrolling(mode)
- [Professional]
- enable/disable auto scrolling while drag-and-drop
File required:dhtmlXTree.js
mode - enabled/disabled
enableHighlighting(mode)
- [Professional]
- enable item highlighting (item text highlited on mouseover)
File required:dhtmlXTree.js
mode - 1 - on, 0 - off;
enableMercyDrag(mode)
- [Professional]
- enable drag without removing (copy instead of move)
File required:dhtmlXTree.js
mode - 1 - on, 0 - off;
enableMultiLineItems(width)
- [Professional]
- enable multi line items
File required:dhtmlXTree.js
width - text width, if equls zero then use single lines items;
enableSmartCheckboxes(mode)
- [Professional]
- enable smart checkboxes ,true by default (auto checking childs and parents for 3-state checkboxes)
File required:dhtmlXTree.js
mode - 1 - on, 0 - off;
enableSmartXMLParsing(mode)
- [Professional]
- enable/disable smart XML parsing mode (usefull for big, well structured XML)
File required:dhtmlXTree.js
mode - 1 - on, 0 - off;
enableThreeStateCheckboxes(mode) enable three state checkboxes
File required:dhtmlXTree.js
mode - 1 - on, 0 - off;
enableTreeImages(mode) enable tree images
File required:dhtmlXTree.js
mode - 1 - on, 0 - off;
focusItem(itemId)
- [Professional]
- focus item in tree
File required:dhtmlXTree.js
itemId - item Id
getXMLState()
- [Professional]
- return current state of XML loading
File required:dhtmlXTree.js
loadXML(file,afterCall) load tree from xml file
File required:dhtmlXTree.js
file - link too XML file
afterCall - function which will be called after xml loading
loadXMLString(xmlString,afterCall) load tree from xml string
File required:dhtmlXTree.js
xmlString - XML string
afterCall - function which will be called after xml loading
setChildCalcHTML( htmlA,htmlB )
- [Professional]
- set child calculation prefix and postfix
File required:dhtmlXTree.js
htmlA - postfix ([ - by default)
htmlB - postfix (] - by default)
setChildCalcMode( mode )
- [Professional]
- set child calculation mode
File required:dhtmlXTree.js
mode - mode name as string . Possible values: child - child, no recursive; leafs - child without subchilds, no recursive; ,childrec - child, recursive; leafsrec - child without subchilds, recursive; disabled (disabled by default)
setDragBehavior(mode)
- [Professional]
- set Drag-And-Drop behavior (child - drop as chils, sibling - drop as sibling, complex - complex drop behaviour )
File required:dhtmlXTree.js
mode - behavior name (child,sibling,complex)
setDragHandler(func) set function called when drag-and-drop event occured
File required:dhtmlXTree.js
aFunc - event handling function
setDropHandler(func)
- [Professional]
- set function called after drag-and-drap event occured
File required:dhtmlXTree.js
func - event handling function
setEscapingMode(mode)
- [Professional]
- set escaping mode (used for escaping ID in server requests)
File required:dhtmlXTree.js
mode - escaping mode ("utf8" for UTF escaping)
setImagePath( newPath ) set path to image directory
File required:dhtmlXTree.js
newPath - path to image directory
setListDelimeter(separator) set list separator (comma by default)
File required:dhtmlXTree.js
separator - char or string using for separating items in lists
setOnCheckHandler(func) set function called before checkbox checked/unchecked
File required:dhtmlXTree.js
func - event handling function
setOnClickHandler(func) set function called when tree node selected
File required:dhtmlXTree.js
func - event handling function
setOnDblClickHandler(func) set function called when tree node double clicked
File required:dhtmlXTree.js
func - event handling function
setOnLoadingEnd(func)
- [Professional]
- set function called after xml loading/parsing ended
File required:dhtmlXTree.js
func - event handling function
setOnLoadingStart(func)
- [Professional]
- set function called before xml loading/parsing started
File required:dhtmlXTree.js
func - event handling function
setOnOpenHandler(func) set function called before tree node opened/closed
File required:dhtmlXTree.js
func - event handling function
setOnRightClickHandler(func) set function called when tree node selected
File required:dhtmlXTree.js
func - event handling function
setXMLAutoLoading(filePath) enables dynamic loading from XML
File required:dhtmlXTree.js
filePath - name of script returning XML;
sortTree(nodeId,order,all_levels)
- [Professional]
- reorder items in tree
File required:dhtmlXTree_sb.js
nodeId - id of top node
all_levels - sorting all levels or only current level
order - sorting order - ASC or DES
Selection control
getChildItemIdByIndex(itemId,index) retun child node id by index
File required:dhtmlXTree.js
itemId - parent node id
index - index of child node
getItemIdByIndex(itemId,index) retun node id by index
File required:dhtmlXTree.js
itemId - node id
index - index of node, 0 based
getSelectedItemId() retun selected item id
File required:dhtmlXTree.js
getSelectedItemText() retun selected node text
File required:dhtmlXTree.js
selectItem(itemId,mode) select node ( and optionaly fire onselect event)
File required:dhtmlXTree.js
itemId - node id
mode - If true, script function for selected node will be called.
setXMLAutoLoadingBehaviour(mode)
- [Professional]
- define which script be called on dynamic loading
File required:dhtmlXTree.js
mode - id for some_script?id=item_id ; name for some_scriptitem_id, xmlname for some_scriptitem_id.xml
Add/delete
clearCut() clear cut
File required:dhtmlXTree.js
deleteChildItems(itemId) delete all children of node
File required:dhtmlXTree.js
itemId - node id
deleteItem(itemId,selectParent) delete node
File required:dhtmlXTree.js
itemId - node id
selectParent - If true parent of deleted item get selection, else no selected items leaving in tree.
doCut() mark selected item as cutted
File required:dhtmlXTree.js
doPaste(itemId) insert previously cutted branch
File required:dhtmlXTree.js
itemId - id of new parent node
enableAutoSavingSelected(mode,cookieName)
- [Professional]
- enable/disable autosaving selected node in cookie
File required:dhtmlXTree_xw.js
mode - true/false
findItem(searchStr,direction,top)
- [Professional]
- find tree item by text, select and focus it
File required:dhtmlXTree.js
searchStr - search text
direction - 0: top -> bottom; 1: bottom -> top
top - 1: start searching from top
findItemIdByLabel(searchStr,direction,top)
- [Professional]
- find tree item by text
File required:dhtmlXTree.js
searchStr - search text
direction - 0: top -> bottom; 1: bottom -> top
top - 1: start searching from top
insertNewChild(parentId,itemId,itemText,itemActionHandler,image1,image2,image3,optionStr,childs) create new node as a child to specified with parentId
File required:dhtmlXTree.js
parentId - parent node id
itemId - new node id
itemText - new node label
itemActionHandler - function fired on node select event (optional)
image1 - image for node without childrens; (optional)
image2 - image for closed node; (optional)
image3 - image for opened node (optional)
optionStr - options string (optional)
childs - node children flag (for dynamical trees) (optional)
insertNewItem(parentId,itemId,itemText,itemActionHandler,image1,image2,image3,optionStr,childs) create new node as a child to specified with parentId
File required:dhtmlXTree.js
parentId - parent node id
itemId - new node id
itemText - new node text
itemActionHandler - function fired on node select event (optional)
image1 - image for node without childrens; (optional)
image2 - image for closed node; (optional)
image3 - image for opened node (optional)
optionStr - options string (optional)
childs - node childs flag (for dynamical trees) (optional)
insertNewNext(itemId,newItemId,itemText,itemActionHandler,image1,image2,image3,optionStr,childs) create new node next to specified
File required:dhtmlXTree.js
itemId - node id
newItemId - new node id
itemText - new node text
itemActionHandler - function fired on node select event (optional)
image1 - image for node without childrens; (optional)
image2 - image for closed node; (optional)
image3 - image for opened node (optional)
optionStr - options string (optional)
childs - node childs flag (for dynamical trees) (optional)
loadOpenStates(name)
- [Professional]
- restore open nodes from cookie
File required:dhtmlXTree_xw.js
name - optional,cookie name
loadState(name)
- [Professional]
- load tree from cookie
File required:dhtmlXTree_xw.js
name - optional,cookie name
moveItem(itemId,mode)
- [Professional]
- move item (inside of tree)
File required:dhtmlXTree.js
itemId - item Id
mode - moving mode (left,up,down)
restoreSelectedItem(name)
- [Professional]
- restore selected item from cookie
File required:dhtmlXTree_xw.js
name - optional, cookie name
saveOpenStates(name)
- [Professional]
- save open nodes to cookie
File required:dhtmlXTree_xw.js
name - optional,cookie name
saveSelectedItem(name)
- [Professional]
- save selected item to cookie
File required:dhtmlXTree_xw.js
name - optional, cookie name
saveState(name)
- [Professional]
- save tree to cookie
File required:dhtmlXTree_xw.js
name - optional, cookie name
serializeTree()
- [Professional]
- return xml description of tree
File required:dhtmlXTree_xw.js
setIconSize(newWidth,newHeight,itemId)
- [Professional]
- set size of gfx icons
File required:dhtmlXTree.js
newWidth - new icon width
newHeight - new icon height
itemId - item Id, if skipped set default value for all new icons, optional
setItemContextMenu(itemId,cMenu)
- [Professional]
- set context menu to individual nodes
File required:dhtmlXTree.js
itemId - node id
cMenu - context menu object
setItemStyle(itemId,style_string)
- [Professional]
- set individual item style
File required:dhtmlXTree.js
itemId - node id
style_string - valid CSS string
setSerializationLevel(userData,fullXML)
- [Professional]
- configure XML serialization
File required:dhtmlXTree_xw.js
userData - enable/disable user data serialization
fullXML - enable/disable full XML serialization
Node/level control
changeItemId(itemId,newItemId) change item id
File required:dhtmlXTree.js
itemId - old node id
newItemId - new node id
closeAllItems(itemId) collapse target node and all child nodes
File required:dhtmlXTree.js
itemId - node id
closeItem(itemId) collapse node
File required:dhtmlXTree.js
itemId - id of node
getLevel(itemId) return node level (position in hierarchy)
File required:dhtmlXTree.js
itemId - id of node
getOpenState(itemId) return open/close state
File required:dhtmlXTree.js
itemId - node id
getParentId(itemId) return parent item id
File required:dhtmlXTree.js
itemId - id of node
hasChildren(itemId) return number of childrens
File required:dhtmlXTree.js
itemId - id of node
openAllItems(itemId) expand target node and all child nodes
File required:dhtmlXTree.js
itemId - node id
openAllItemsDynamic(itemId) expand target node and all child nodes (same as openAllItems, but works in dynamic trees)
File required:dhtmlXTree_xw.js
itemId - node id, optional
openItem(itemId) expand node
File required:dhtmlXTree.js
itemId - id of node
setItemCloseable(itemId,flag) prevent node from closing
File required:dhtmlXTree.js
itemId - id of node
flag - if 0 - node can't be closed, else node can be closed
-
-
-
-
diff --git a/phpgwapi/js/dhtmlxtree/doc/toc.xml b/phpgwapi/js/dhtmlxtree/doc/toc.xml
deleted file mode 100644
index f5f15694c1..0000000000
--- a/phpgwapi/js/dhtmlxtree/doc/toc.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
- guide.html
-
-
- guide.html
-
-
- guide.html
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- alpha.html
-
-
- tgroup.html
-
-
- ogroup.html
-
-
-
-
- special.html
-
-
-
-
-
- kb/faq.html
-
-
-
-
-
-
-
-
- kb/dyn_loading.html
-
-
-
-
diff --git a/phpgwapi/js/dhtmlxtree/doc/treeEvents.xml b/phpgwapi/js/dhtmlxtree/doc/treeEvents.xml
deleted file mode 100644
index 4f54881f9c..0000000000
--- a/phpgwapi/js/dhtmlxtree/doc/treeEvents.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
- ID of clicked node
- Event raised immideatly after text part of item in tree was clicked, but after default onClick functionality was processed.
- Richh mouse button click can be catched by onRightClick handler.
-
-
- ID of clicked node
- Event raised immideatly after item in tree was doubleclicked, before default onDblClick functionality was processed.
- Beware using both onClick and onDblClick events, because component can generate onClick event before onDblClick event while doubleclicking item in tree.
- ( that behavior depend on used brouser )
-
-
- true - confirm opening/closing; false - deny opening/closing;
-
-
-
- ID of node which will be closed
- Current open state of tree item. 0 - item has not childs, -1 - item closed, 1 - item opened.
- Event raised immideatly after item in tree was opened/closed , and before item opened//closed. Event also raised for unclosable nodes and nodes without open/close functionality - in that case result of function will be ignored.
- Event not raised if node opened by dhtmlXtree API.
-
-
- true - confirm opening/closing; false - deny opening/closing;
-
-
-
- ID of node which will be closed
- Current checkbox state. 1 - item checked, 0 - item unchecked.
- Event raised immideatly after item in tree was opened/closed, but after item checked/unchecked.
-
-
- ID of source item
- ID of target item
- Event occured after item was dragged and droped on another item, but before item moving processed.
- Event also raised while programmatic moving nodes.
-
- true - confirm drag-and-drop; false - deny drag-and-drop;
-
-
-
- Commercial
- ID of source item
- ID of target item
- ID of clicked node
- Event raised after drag-and-drop processed. Event also raised while programmatic moving nodes.
-
-
-
- Commercial (not released yet)
- ID of tree item
- ID of target item
- ID of clicked node
-
- Event occured after right mouse button was clicked.
- Assigning this handler can disable default context menu, and noncompattible with dhtmlXMenu integration.
-
-
-
-
- Commercial (not released yet)
- ID of tree item
- ID of target item
- ID of clicked node
-
- Event occured after right mouse button was clicked.
- Assigning this handler can disable default context menu, and noncompattible with dhtmlXMenu integration.
-
-
-
-
-
-
\ No newline at end of file
diff --git a/phpgwapi/js/dhtmlxtree/imgs/blank.gif b/phpgwapi/js/dhtmlxtree/imgs/blank.gif
deleted file mode 100644
index d7ae406713..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/blank.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/book.gif b/phpgwapi/js/dhtmlxtree/imgs/book.gif
deleted file mode 100644
index b0ce63a9d1..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/book.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/book_titel.gif b/phpgwapi/js/dhtmlxtree/imgs/book_titel.gif
deleted file mode 100644
index 31c916d065..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/book_titel.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/books_close.gif b/phpgwapi/js/dhtmlxtree/imgs/books_close.gif
deleted file mode 100644
index e4bd9d6fe2..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/books_close.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/books_open.gif b/phpgwapi/js/dhtmlxtree/imgs/books_open.gif
deleted file mode 100644
index 020ce728c0..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/books_open.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/btn_up1.gif b/phpgwapi/js/dhtmlxtree/imgs/btn_up1.gif
deleted file mode 100644
index dd7675fd62..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/btn_up1.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/btn_up2.gif b/phpgwapi/js/dhtmlxtree/imgs/btn_up2.gif
deleted file mode 100644
index a7837e0f7f..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/btn_up2.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/close2.gif b/phpgwapi/js/dhtmlxtree/imgs/close2.gif
deleted file mode 100644
index 94c267d5b9..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/close2.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/folderClosed.gif b/phpgwapi/js/dhtmlxtree/imgs/folderClosed.gif
deleted file mode 100644
index 1ebe3c977b..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/folderClosed.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/folderOpen.gif b/phpgwapi/js/dhtmlxtree/imgs/folderOpen.gif
deleted file mode 100644
index c193e869f1..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/folderOpen.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/iconCheckAll.gif b/phpgwapi/js/dhtmlxtree/imgs/iconCheckAll.gif
deleted file mode 100644
index d90899259b..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/iconCheckAll.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/iconCheckGray.gif b/phpgwapi/js/dhtmlxtree/imgs/iconCheckGray.gif
deleted file mode 100644
index cb54c0a8f3..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/iconCheckGray.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/iconClient.gif b/phpgwapi/js/dhtmlxtree/imgs/iconClient.gif
deleted file mode 100644
index 95b3b75913..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/iconClient.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/iconDeleteSelected.gif b/phpgwapi/js/dhtmlxtree/imgs/iconDeleteSelected.gif
deleted file mode 100644
index 1fd762b44d..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/iconDeleteSelected.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/iconJob.gif b/phpgwapi/js/dhtmlxtree/imgs/iconJob.gif
deleted file mode 100644
index c073898e99..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/iconJob.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/iconReport.gif b/phpgwapi/js/dhtmlxtree/imgs/iconReport.gif
deleted file mode 100644
index bdcc6a54da..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/iconReport.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/iconTask.gif b/phpgwapi/js/dhtmlxtree/imgs/iconTask.gif
deleted file mode 100644
index a43d60d2be..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/iconTask.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/iconTimeRecordsEdit.gif b/phpgwapi/js/dhtmlxtree/imgs/iconTimeRecordsEdit.gif
deleted file mode 100644
index 1ca8341d26..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/iconTimeRecordsEdit.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/iconUnCheckAll.gif b/phpgwapi/js/dhtmlxtree/imgs/iconUnCheckAll.gif
deleted file mode 100644
index 5e54ec5995..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/iconUnCheckAll.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/item.gif b/phpgwapi/js/dhtmlxtree/imgs/item.gif
deleted file mode 100644
index 56c0221a0d..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/item.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/item2.gif b/phpgwapi/js/dhtmlxtree/imgs/item2.gif
deleted file mode 100644
index 47274d09f3..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/item2.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/leaf.gif b/phpgwapi/js/dhtmlxtree/imgs/leaf.gif
deleted file mode 100644
index 1cf40f1e0c..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/leaf.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/line1.gif b/phpgwapi/js/dhtmlxtree/imgs/line1.gif
deleted file mode 100644
index 60f2ccb26e..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/line1.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/line2.gif b/phpgwapi/js/dhtmlxtree/imgs/line2.gif
deleted file mode 100644
index f2d7bdd506..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/line2.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/line3.gif b/phpgwapi/js/dhtmlxtree/imgs/line3.gif
deleted file mode 100644
index d718be218f..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/line3.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/line4.gif b/phpgwapi/js/dhtmlxtree/imgs/line4.gif
deleted file mode 100644
index 29285e5986..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/line4.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/magazines_close.gif b/phpgwapi/js/dhtmlxtree/imgs/magazines_close.gif
deleted file mode 100644
index 513c01a006..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/magazines_close.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/magazines_open.gif b/phpgwapi/js/dhtmlxtree/imgs/magazines_open.gif
deleted file mode 100644
index fcda411c79..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/magazines_open.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/minus.gif b/phpgwapi/js/dhtmlxtree/imgs/minus.gif
deleted file mode 100644
index ef04a54696..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/minus.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/minus2.gif b/phpgwapi/js/dhtmlxtree/imgs/minus2.gif
deleted file mode 100644
index 0372294cb9..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/minus2.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/minus3.gif b/phpgwapi/js/dhtmlxtree/imgs/minus3.gif
deleted file mode 100644
index d928af6394..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/minus3.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/minus4.gif b/phpgwapi/js/dhtmlxtree/imgs/minus4.gif
deleted file mode 100644
index 30bc7deecb..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/minus4.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/minus5.gif b/phpgwapi/js/dhtmlxtree/imgs/minus5.gif
deleted file mode 100644
index e2e30fcb24..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/minus5.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/minus_ar.gif b/phpgwapi/js/dhtmlxtree/imgs/minus_ar.gif
deleted file mode 100644
index 4428ba1500..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/minus_ar.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/open2.gif b/phpgwapi/js/dhtmlxtree/imgs/open2.gif
deleted file mode 100644
index 7d8f2f8ba0..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/open2.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/plus.gif b/phpgwapi/js/dhtmlxtree/imgs/plus.gif
deleted file mode 100644
index abb84bdfbf..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/plus.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/plus2.gif b/phpgwapi/js/dhtmlxtree/imgs/plus2.gif
deleted file mode 100644
index ea2816efce..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/plus2.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/plus3.gif b/phpgwapi/js/dhtmlxtree/imgs/plus3.gif
deleted file mode 100644
index cd6967e52b..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/plus3.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/plus4.gif b/phpgwapi/js/dhtmlxtree/imgs/plus4.gif
deleted file mode 100644
index 185bd9b704..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/plus4.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/plus5.gif b/phpgwapi/js/dhtmlxtree/imgs/plus5.gif
deleted file mode 100644
index 72fe4e577f..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/plus5.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/plus_ar.gif b/phpgwapi/js/dhtmlxtree/imgs/plus_ar.gif
deleted file mode 100644
index d2fcaf0120..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/plus_ar.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/tombs.gif b/phpgwapi/js/dhtmlxtree/imgs/tombs.gif
deleted file mode 100644
index 25131eeeb6..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/tombs.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/imgs/tombs_mag.gif b/phpgwapi/js/dhtmlxtree/imgs/tombs_mag.gif
deleted file mode 100644
index b58e29a1e4..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/imgs/tombs_mag.gif and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/index.shtml b/phpgwapi/js/dhtmlxtree/index.shtml
deleted file mode 100644
index aed0e7d0eb..0000000000
--- a/phpgwapi/js/dhtmlxtree/index.shtml
+++ /dev/null
@@ -1,198 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Often there is a need to show a hierarchically structured data.
-Our dhtmlxTree (DHTML extensions Tree) lets you do this in an easy and most comfortable way - in any browser! This JavaScript Tree Menu component allows creating user-friendly navigation bar for a commercial application or a web site. Menu items are organized into compact, hierarchical tree structure so users can find information they need easily.
-Having such feature, as dynamical loading of items from XML stream allows dhtmlxTree to handle large amounts of data. Drag-and-drop makes it possible to drag items not just within one tree, but between different trees. Try by yourself now:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Drag & drop items within the trees as well as between trees
- Double-click on folder label or click on [+] plus to expand subitems.
-
-
-
Rich client-side Javascript API gives an opportunity to change tree styles (folder images, fonts, indents, and colors) and manage any part or activity. Our DHTML tree works perfectly in all main Web-browsers for Windows, Mac OS X, Linux or Unix so you don't have to care about the browser compatibility.
-dhtmlxTree has built-in checkboxes providing a handy tool for any kind of navigation system where selection lists are required.
-
-
-
-
-
-
What's new in version 1.2* (October 20, 2005):
-
XHTML compartibility
-
Complex drag-n-drop (inside/between)
-
Extended Serialization (userdata, more other parameters)
Standard - available for free download (for non-commercial use).
-
Professional - contains additional features (with examples) which are not present at standard edition. Included with Commercial and Enterprise licenses. Contact us to buy.
Commercial License (standard and professional editions): in order to use any edition of dhtmlxTree in a commercial project, get all features available in professional edition or to have support you can purchase a Commercial License ($99). Contact us to buy.
Dynamic rendering – advanced xml processing for loading big trees when dynamical loading can't be used
-
Serialization – possibility to create XML based on updated tree structure.
-
Search
-
Multi-line tree items
-
Saving/Restoring tree state in/from cookies
-
Change icon size
-
-
-
diff --git a/phpgwapi/js/dhtmlxtree/readme.txt b/phpgwapi/js/dhtmlxtree/readme.txt
deleted file mode 100644
index a5b4193079..0000000000
--- a/phpgwapi/js/dhtmlxtree/readme.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-
-Current version: 1.2 from October 20, 2005
-
-============================================================================================
-
-If you want to use dhtmlXTree in a commercial product, you have to buy a commercial license.
-Please contact us at info@scand.com
-
-Some comments on commercial usage:
-
-1.Commercial License allows you to use dhtmlXTree on unlimited number of Websites or sites
-but only in one commercial project(application). According to this license we provide you
-with support (consultations) and free-of-charge bug fixing during 1 month.
-This license costs $99.
-
-2.Enterprise License allows you to use dhtmlXTree in unlimited number of projects on condition
-that all of them are projects of one company. Support period is 1 year.
-This license costs $399.
-
-
-According to both licenses you are allowed to make changes to the code of Software but Scand LLC
-still owns the code and you are not allowed to distribute changed code.
-
diff --git a/phpgwapi/js/dhtmlxtree/samples/dhtmlXTree.cfm b/phpgwapi/js/dhtmlxtree/samples/dhtmlXTree.cfm
deleted file mode 100644
index f2ce9ed492..0000000000
--- a/phpgwapi/js/dhtmlxtree/samples/dhtmlXTree.cfm
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/phpgwapi/js/dhtmlxtree/samples/dhtmlxTree_db_sample.zip b/phpgwapi/js/dhtmlxtree/samples/dhtmlxTree_db_sample.zip
deleted file mode 100644
index d0b398ba89..0000000000
Binary files a/phpgwapi/js/dhtmlxtree/samples/dhtmlxTree_db_sample.zip and /dev/null differ
diff --git a/phpgwapi/js/dhtmlxtree/samples/example.cfm b/phpgwapi/js/dhtmlxtree/samples/example.cfm
deleted file mode 100644
index 6298250b80..0000000000
--- a/phpgwapi/js/dhtmlxtree/samples/example.cfm
+++ /dev/null
@@ -1,122 +0,0 @@
-
-
-
-