code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231 values | license stringclasses 13 values | size int64 1 2.01M |
|---|---|---|---|---|---|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_setcustomsortfunction [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_setcustomsortfunction</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setcustomsortfunction" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setcustomsortfunction" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setcustomsortfunction" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_setcustomsortfunction" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_setcustomsortfunction">api_method_dhtmlxtreeobject_setcustomsortfunction</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="setcustomsortfunction_func" id="setcustomsortfunction_func">setCustomSortFunction(func)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_sb.js</em>
</p>
<p>
set custom sort functions, which has two parametrs - id_of_item1,id_of_item2
</p>
<ul>
<li class="level1"><div class="li"> func - sorting function</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setcustomsortfunction" /><input type="submit" value="Edit" class="button" title="setCustomSortFunction(func)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_setcustomsortfunction.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setcustomsortfunction" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setcustomsortfunction" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setcustomsortfunction" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_setcustomsortfunction&1279804919" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setcustomsortfunction" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_setcustomsortfunction.html | HTML | art | 8,400 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_loadjsonobject [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_loadjsonobject</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsonobject" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsonobject" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsonobject" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_loadjsonobject" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsonobject">api_method_dhtmlxtreeobject_loadjsonobject</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="loadjsonobject_json_aftercall" id="loadjsonobject_json_aftercall">loadJSONObject(json,afterCall)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_json.js</em>
</p>
<p>
load tree from json object
</p>
<ul>
<li class="level1"><div class="li"> json - json object</div>
</li>
<li class="level1"><div class="li"> afterCall - function which will be called after xml loading</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsonobject" /><input type="submit" value="Edit" class="button" title="loadJSONObject(json,afterCall)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_loadjsonobject.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsonobject" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsonobject" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsonobject" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_loadjsonobject&1279804927" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsonobject" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_loadjsonobject.html | HTML | art | 8,340 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_getallpartiallychecked [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_getallpartiallychecked</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallpartiallychecked" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallpartiallychecked" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallpartiallychecked" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_getallpartiallychecked" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_getallpartiallychecked">api_method_dhtmlxtreeobject_getallpartiallychecked</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="getallpartiallychecked" id="getallpartiallychecked">getAllPartiallyChecked()</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
return list of identificators of nodes with third state checkboxes, separated by default delimiter
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallpartiallychecked" /><input type="submit" value="Edit" class="button" title="getAllPartiallyChecked()" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_getallpartiallychecked.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallpartiallychecked" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallpartiallychecked" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallpartiallychecked" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_getallpartiallychecked&1279804924" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallpartiallychecked" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_getallpartiallychecked.html | HTML | art | 8,312 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_enableieimagefix [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_enableieimagefix</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableieimagefix" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableieimagefix" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableieimagefix" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_enableieimagefix" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableieimagefix">api_method_dhtmlxtreeobject_enableieimagefix</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="enableieimagefix_mode" id="enableieimagefix_mode">enableIEImageFix(mode)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
replace IMG tag with background images - solve problem with <acronym title="Internet Explorer">IE</acronym> image caching , not works for <acronym title="Internet Explorer 6">IE6</acronym> SP1
</p>
<ul>
<li class="level1"><div class="li"> mode - true/false - enable/disable fix</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableieimagefix" /><input type="submit" value="Edit" class="button" title="enableIEImageFix(mode)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_enableieimagefix.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableieimagefix" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableieimagefix" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableieimagefix" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_enableieimagefix&1279804932" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableieimagefix" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_enableieimagefix.html | HTML | art | 8,411 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_loadxml [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_loadxml</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadxml" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadxml" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadxml" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_loadxml" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadxml">api_method_dhtmlxtreeobject_loadxml</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="loadxml_file_aftercall" id="loadxml_file_aftercall">loadXML(file,afterCall)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
load tree from xml file
</p>
<ul>
<li class="level1"><div class="li"> file - link to <acronym title="Extensible Markup Language">XML</acronym> file</div>
</li>
<li class="level1"><div class="li"> afterCall - function which will be called after xml loading</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadxml" /><input type="submit" value="Edit" class="button" title="loadXML(file,afterCall)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_loadxml.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadxml" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadxml" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadxml" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_loadxml&1279804927" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadxml" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_loadxml.html | HTML | art | 8,258 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_setonformdismissal [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_setonformdismissal</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setonformdismissal" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setonformdismissal" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setonformdismissal" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_setonformdismissal" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_setonformdismissal">api_method_dhtmlxtreeobject_setonformdismissal</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="setonformdismissal_func" id="setonformdismissal_func">setOnFormDismissal(func)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_if.js</em>
</p>
<p>
allow to set user routine which will be called right before form disappears
</p>
<ul>
<li class="level1"><div class="li"> func - user defined function</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setonformdismissal" /><input type="submit" value="Edit" class="button" title="setOnFormDismissal(func)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_setonformdismissal.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setonformdismissal" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setonformdismissal" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setonformdismissal" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_setonformdismissal&1279804926" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setonformdismissal" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_setonformdismissal.html | HTML | art | 8,347 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_clearcut [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_clearcut</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_clearcut" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_clearcut" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_clearcut" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_clearcut" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_clearcut">api_method_dhtmlxtreeobject_clearcut</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="clearcut" id="clearcut">clearCut()</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
clear cut
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_clearcut" /><input type="submit" value="Edit" class="button" title="clearCut()" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_clearcut.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_clearcut" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_clearcut" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_clearcut" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_clearcut&1279804922" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_clearcut" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_clearcut.html | HTML | art | 7,957 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:serialization_caching_and_removing_tree [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:serialization_caching_and_removing_tree</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:serialization_caching_and_removing_tree" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:serialization_caching_and_removing_tree" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:serialization_caching_and_removing_tree" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:serialization_caching_and_removing_tree" class="breadcrumbs" title="dhtmlxtree:serialization_caching_and_removing_tree">serialization_caching_and_removing_tree</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<!-- TOC START -->
<div class="toc">
<div class="tocheader toctoggle" id="toc__header">Table of Contents</div>
<div id="toc__inside">
<ul class="toc">
<li class="clear">
<ul class="toc">
<li class="level2"><div class="li"><span class="li"><a href="#serialization_caching_and_removing_tree" class="toc">Serialization, Caching and Removing Tree</a></span></div>
<ul class="toc">
<li class="level3"><div class="li"><span class="li"><a href="#serializing_tree" class="toc">Serializing Tree</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#setting_serialization_level" class="toc">Setting Serialization Level</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#preventing_caching_in_ie" class="toc">Preventing Caching in IE</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#registering_xml_entity" class="toc">Registering XML Entity</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#removing_tree" class="toc">Removing Tree</a></span></div></li></ul>
</li></ul>
</li></ul>
</div>
</div>
<!-- TOC END -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href="index.html" class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div></div>
</p>
<h2><a name="serialization_caching_and_removing_tree" id="serialization_caching_and_removing_tree">Serialization, Caching and Removing Tree</a></h2>
<div class="level2">
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="53-109" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:serialization_caching_and_removing_tree" /><input type="submit" value="Edit" class="button" title="Serialization, Caching and Removing Tree" /></div></form></div>
<h3><a name="serializing_tree" id="serializing_tree">Serializing Tree</a></h3>
<div class="level3">
<p>
The user can get an <acronym title="Extensible Markup Language">XML</acronym> representation (as a string) of the tree using method serializeTree():
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">serializeTree</span><span class="br0">(</span><span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
Also there is the possibility to return the tree as a JSON string like this:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">serializeTreeToJSON</span><span class="br0">(</span><span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="110-488" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:serialization_caching_and_removing_tree" /><input type="submit" value="Edit" class="button" title="Serializing Tree" /></div></form></div>
<h3><a name="setting_serialization_level" id="setting_serialization_level">Setting Serialization Level</a></h3>
<div class="level3">
<p>
<acronym title="Extensible Markup Language">XML</acronym> serialization can be easily configured in the following way:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">setSerializationLevel</span><span class="br0">(</span>userData<span class="sy0">,</span>fullXML<span class="sy0">,</span>escapeEntities<span class="sy0">,</span>userDataAsCData<span class="sy0">,</span>DTD<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters are as follows:
</p>
<ul>
<li class="level1"><div class="li"> userData - enable/disable user data serialization;</div>
</li>
<li class="level1"><div class="li"> fullXML - enable/disable full <acronym title="Extensible Markup Language">XML</acronym> serialization;</div>
</li>
<li class="level1"><div class="li"> escapeEntities - convert tag brackets to related html entities;</div>
</li>
<li class="level1"><div class="li"> userDataAsCData - output user data in CDATA sections;</div>
</li>
<li class="level1"><div class="li"> <acronym title="Document Type Definition">DTD</acronym> - if specified, then set as <acronym title="Extensible Markup Language">XML</acronym>'s <acronym title="Document Type Definition">DTD</acronym>.</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="489-1057" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:serialization_caching_and_removing_tree" /><input type="submit" value="Edit" class="button" title="Setting Serialization Level" /></div></form></div>
<h3><a name="preventing_caching_in_ie" id="preventing_caching_in_ie">Preventing Caching in IE</a></h3>
<div class="level3">
<p>
The user can prevent caching in <acronym title="Internet Explorer">IE</acronym> by adding random value to <acronym title="Uniform Resource Locator">URL</acronym> string with the help of method preventIECaching():
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">preventIECaching</span><span class="br0">(</span><span class="kw2">true</span>|false<span class="br0">)</span>; <span class="co1">// false by default</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="1058-1330" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:serialization_caching_and_removing_tree" /><input type="submit" value="Edit" class="button" title="Preventing Caching in IE" /></div></form></div>
<h3><a name="registering_xml_entity" id="registering_xml_entity">Registering XML Entity</a></h3>
<div class="level3">
<p>
There is the possibility in dhtmlxTree to register an <acronym title="Extensible Markup Language">XML</acronym> entity for replacement of special symbols while initialization of the tree (default ones are: ampersand, “less then” and “greater then” symbols):
</p>
<pre class="code javascript">
<span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">registerXMLEntity</span><span class="br0">(</span>rChar<span class="sy0">,</span>rEntity<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters are the following:
</p>
<ul>
<li class="level1"><div class="li"> rChar - source char;</div>
</li>
<li class="level1"><div class="li"> rEntity - target entity.</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="1331-1780" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:serialization_caching_and_removing_tree" /><input type="submit" value="Edit" class="button" title="Registering XML Entity" /></div></form></div>
<h3><a name="removing_tree" id="removing_tree">Removing Tree</a></h3>
<div class="level3">
<p>
There is a simple method that allows the user to remove the tree completely and to clear memory:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">destructor</span><span class="br0">(</span><span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="1781-" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:serialization_caching_and_removing_tree" /><input type="submit" value="Edit" class="button" title="Removing Tree" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/serialization_caching_and_removing_tree.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:serialization_caching_and_removing_tree" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:serialization_caching_and_removing_tree" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:serialization_caching_and_removing_tree" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aserialization_caching_and_removing_tree&1279804934" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:serialization_caching_and_removing_tree" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___serialization_caching_and_removing_tree.html | HTML | art | 15,747 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_loadcsv [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_loadcsv</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadcsv" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadcsv" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadcsv" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_loadcsv" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadcsv">api_method_dhtmlxtreeobject_loadcsv</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="loadcsv_file_aftercall" id="loadcsv_file_aftercall">loadCSV(file,afterCall)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_json.js</em>
</p>
<p>
load tree from csv file|stream
</p>
<ul>
<li class="level1"><div class="li"> file - link to CSV file</div>
</li>
<li class="level1"><div class="li"> afterCall - function which will be called after xml loading</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadcsv" /><input type="submit" value="Edit" class="button" title="loadCSV(file,afterCall)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_loadcsv.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadcsv" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadcsv" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadcsv" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_loadcsv&1279804927" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadcsv" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_loadcsv.html | HTML | art | 8,216 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:event_ondrag [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:event_ondrag</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_ondrag" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_ondrag" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:event_ondrag" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:event_ondrag" class="breadcrumbs" title="dhtmlxtree:event_ondrag">event_ondrag</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div></div>
</p>
<h2><a name="ondrag_event" id="ondrag_event">onDrag Event</a></h2>
<div class="level2">
<p>
This event calls user-defined handlers (if there are any) and passes the following parameters:
</p>
<ul>
<li class="level1"><div class="li"> sId - id of the source item; </div>
</li>
<li class="level1"><div class="li"> tId - id of the target item;</div>
</li>
<li class="level1"><div class="li"> id - if the node is dropped as a sibling, id of the item before which the source node will be inserted;</div>
</li>
<li class="level1"><div class="li"> sObject - source tree object;</div>
</li>
<li class="level1"><div class="li"> tObject - target tree object.</div>
</li>
</ul>
<pre class="code javascript"> tree.<span class="me1">attachEvent</span><span class="br0">(</span><span class="st0">"onDrag"</span><span class="sy0">,</span> <span class="kw2">function</span><span class="br0">(</span>sId<span class="sy0">,</span>tId<span class="sy0">,</span>id<span class="sy0">,</span>sObject<span class="sy0">,</span>tObject<span class="br0">)</span><span class="br0">{</span><span class="br0">}</span><span class="br0">)</span>;
</pre>
<p>
This event returns:
</p>
<p>
true - confirms drag-and-drop start;<br/>
false - denies drag-and-drop.
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="53-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:event_ondrag" /><input type="submit" value="Edit" class="button" title="onDrag Event" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/event_ondrag.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_ondrag" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_ondrag" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:event_ondrag" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aevent_ondrag&1279804934" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_ondrag" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___event_ondrag.html | HTML | art | 8,368 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_assignkeys [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_assignkeys</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_assignkeys" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_assignkeys" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_assignkeys" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_assignkeys" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_assignkeys">api_method_dhtmlxtreeobject_assignkeys</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="assignkeys_keys" id="assignkeys_keys">assignKeys(keys)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_kn.js</em>
</p>
<p>
configure keys used for keyboard navigation
</p>
<ul>
<li class="level1"><div class="li"> keys - configuration array, please check pro_key_nav.html in samples for more details</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_assignkeys" /><input type="submit" value="Edit" class="button" title="assignKeys(keys)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_assignkeys.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_assignkeys" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_assignkeys" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_assignkeys" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_assignkeys&1279804920" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_assignkeys" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_assignkeys.html | HTML | art | 8,220 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_isitemchecked [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_isitemchecked</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_isitemchecked" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_isitemchecked" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_isitemchecked" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_isitemchecked" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_isitemchecked">api_method_dhtmlxtreeobject_isitemchecked</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="isitemchecked_itemid" id="isitemchecked_itemid">isItemChecked(itemId)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
get state of nodes's checkbox
</p>
<ul>
<li class="level1"><div class="li"> itemId - target node id</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_isitemchecked" /><input type="submit" value="Edit" class="button" title="isItemChecked(itemId)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_isitemchecked.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_isitemchecked" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_isitemchecked" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_isitemchecked" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_isitemchecked&1279804921" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_isitemchecked" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_isitemchecked.html | HTML | art | 8,189 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_setitemstyle [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_setitemstyle</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemstyle" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemstyle" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemstyle" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_setitemstyle" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemstyle">api_method_dhtmlxtreeobject_setitemstyle</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="setitemstyle_itemid_style_string" id="setitemstyle_itemid_style_string">setItemStyle(itemId,style_string)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
set individual item style
</p>
<ul>
<li class="level1"><div class="li"> itemId - node id</div>
</li>
<li class="level1"><div class="li"> style_string - valid <acronym title="Cascading Style Sheets">CSS</acronym> string</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemstyle" /><input type="submit" value="Edit" class="button" title="setItemStyle(itemId,style_string)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_setitemstyle.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemstyle" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemstyle" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemstyle" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_setitemstyle&1279804931" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemstyle" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_setitemstyle.html | HTML | art | 8,336 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:event_onbeforedrag [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:event_onbeforedrag</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onbeforedrag" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_onbeforedrag" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:event_onbeforedrag" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:event_onbeforedrag" class="breadcrumbs" title="dhtmlxtree:event_onbeforedrag">event_onbeforedrag</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div></div>
</p>
<h2><a name="onbeforedrag_event" id="onbeforedrag_event">onBeforeDrag Event</a></h2>
<div class="level2">
<p>
This event calls user-defined handlers (if there are any) and passes the following parameter:
</p>
<ul>
<li class="level1"><div class="li"> sId - id of the source item.</div>
</li>
</ul>
<pre class="code javascript"> tree.<span class="me1">attachEvent</span><span class="br0">(</span><span class="st0">"onBeforeDrag"</span><span class="sy0">,</span> <span class="kw2">function</span><span class="br0">(</span>sId<span class="br0">)</span><span class="br0">{</span><span class="br0">}</span><span class="br0">)</span>;
</pre>
<p>
This event returns: true - confirms drag-and-drop start; false - denies drag-and-drop (operation will not start).
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="53-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:event_onbeforedrag" /><input type="submit" value="Edit" class="button" title="onBeforeDrag Event" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/event_onbeforedrag.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onbeforedrag" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_onbeforedrag" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:event_onbeforedrag" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aevent_onbeforedrag&1279804934" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onbeforedrag" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___event_onbeforedrag.html | HTML | art | 7,983 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:syntax_templates [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:syntax_templates</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:syntax_templates" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:syntax_templates" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:syntax_templates" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:syntax_templates" class="breadcrumbs" title="dhtmlxtree:syntax_templates">syntax_templates</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<!-- TOC START -->
<div class="toc">
<div class="tocheader toctoggle" id="toc__header">Table of Contents</div>
<div id="toc__inside">
<ul class="toc">
<li class="clear">
<ul class="toc">
<li class="level2"><div class="li"><span class="li"><a href="#syntax_templates" class="toc">Syntax Templates</a></span></div>
<ul class="toc">
<li class="level3"><div class="li"><span class="li"><a href="#xml_format_template" class="toc">XML Format Template</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#json_format_template" class="toc">JSON Format Template</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#csv_format_template" class="toc">CSV Format Template</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#js_array_format_template" class="toc">JS Array Format Template</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#cold_fusion_tag_for_dhtmlxtree" class="toc">Cold Fusion Tag for dhtmlXTree</a></span></div></li></ul>
</li></ul>
</li></ul>
</div>
</div>
<!-- TOC END -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href="index.html" class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div></div>
</p>
<h2><a name="syntax_templates" id="syntax_templates">Syntax Templates</a></h2>
<div class="level2">
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="53-85" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:syntax_templates" /><input type="submit" value="Edit" class="button" title="Syntax Templates" /></div></form></div>
<h3><a name="xml_format_template" id="xml_format_template">XML Format Template</a></h3>
<div class="level3">
<p>
<acronym title="Extensible Markup Language">XML</acronym> syntax template is the following:
</p>
<pre class="code javascript"> <span class="sy0"><?</span>xml version<span class="sy0">=</span><span class="st0">'1.0'</span> encoding<span class="sy0">=</span><span class="st0">'iso-8859-1'</span><span class="sy0">?></span>
<span class="sy0"><</span>tree id<span class="sy0">=</span><span class="st0">"0"</span><span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"My Computer"</span> id<span class="sy0">=</span><span class="st0">"1"</span> child<span class="sy0">=</span><span class="st0">"1"</span> im0<span class="sy0">=</span><span class="st0">"my_cmp.gif"</span> im1<span class="sy0">=</span><span class="st0">"my_cmp.gif"</span> im2<span class="sy0">=</span><span class="st0">"my_cmp.gif"</span> call<span class="sy0">=</span><span class="st0">"true"</span> select<span class="sy0">=</span><span class="st0">"yes"</span><span class="sy0">></span>
<span class="sy0"><</span>userdata <span class="kw3">name</span><span class="sy0">=</span><span class="st0">"system"</span><span class="sy0">></span>true<span class="sy0"></</span>userdata<span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Floppy (A:)"</span> id<span class="sy0">=</span><span class="st0">"11"</span> child<span class="sy0">=</span><span class="st0">"0"</span> im0<span class="sy0">=</span><span class="st0">"flop.gif"</span> im1<span class="sy0">=</span><span class="st0">"flop.gif"</span> im2<span class="sy0">=</span><span class="st0">"flop.gif"</span><span class="sy0">/></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Local Disk (C:)"</span> id<span class="sy0">=</span><span class="st0">"12"</span> child<span class="sy0">=</span><span class="st0">"0"</span> im0<span class="sy0">=</span><span class="st0">"drv.gif"</span> im1<span class="sy0">=</span><span class="st0">"drv.gif"</span> im2<span class="sy0">=</span><span class="st0">"drv.gif"</span><span class="sy0">/></span>
<span class="sy0"></</span>item<span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Recycle Bin"</span> id<span class="sy0">=</span><span class="st0">"4"</span> child<span class="sy0">=</span><span class="st0">"0"</span> im0<span class="sy0">=</span><span class="st0">"recyc.gif"</span> im1<span class="sy0">=</span><span class="st0">"recyc.gif"</span> im2<span class="sy0">=</span><span class="st0">"recyc.gif"</span><span class="sy0">/></span>
<span class="sy0"></</span>tree<span class="sy0">></span>
</pre>
<p>
The tags used are the following:
</p>
<ul>
<li class="level1"><div class="li"> <tree> tag is mandatory. It specifies the parent of loading block of data. According to this, its id parameter specifies the ID of that parent. To load root level the user needs to specify the ID used for creation of the tree object: new myObjTree(boxObject,width,height,0);</div>
</li>
<li class="level1"><div class="li"> <item> tag can contain sub-items (in order to load more than one level at once) or not. It also can contain <itemtext> tag that can be used to add some <acronym title="HyperText Markup Language">HTML</acronym> to item label (attribute text should be skipped then):</div>
</li>
</ul>
<pre class="code javascript"> <span class="sy0"><</span>item id<span class="sy0">=</span><span class="st0">"123"</span><span class="sy0">></span>
<span class="sy0"><</span>itemtext<span class="sy0">><!</span><span class="br0">[</span>CDATA<span class="br0">[</span><span class="sy0"><</span>font color<span class="sy0">=</span><span class="st0">"red"</span><span class="sy0">></span>Label<span class="sy0"></</span>font<span class="sy0">></span><span class="br0">]</span><span class="br0">]</span><span class="sy0">></</span>itemtext<span class="sy0">></span>
<span class="sy0"></</span>item<span class="sy0">></span>
</pre>
<p>
Attributes for <item> tag are the following:
</p>
<ul>
<li class="level1"><div class="li"> Mandatory attributes:</div>
<ul>
<li class="level2"><div class="li"> text - label of the node;</div>
</li>
<li class="level2"><div class="li"> id - id of the node;</div>
</li>
</ul>
</li>
<li class="level1"><div class="li"> Optional attributes:</div>
<ul>
<li class="level2"><div class="li"> tooltip - tooltip of the node;</div>
</li>
<li class="level2"><div class="li"> im0 - image for a node without child items (tree will get images from the path specified in setImagePath() method);</div>
</li>
<li class="level2"><div class="li"> im1 - image for an expanded node with child items;</div>
</li>
<li class="level2"><div class="li"> im2 - image for a collapsed node with child items;</div>
</li>
<li class="level2"><div class="li"> aCol - colour of an item that is not selected;</div>
</li>
<li class="level2"><div class="li"> sCol - colour of a selected item;</div>
</li>
<li class="level2"><div class="li"> select - select a node on load (any value);</div>
</li>
<li class="level2"><div class="li"> style - text style of a node;</div>
</li>
<li class="level2"><div class="li"> open - show a node opened (any value);</div>
</li>
<li class="level2"><div class="li"> call - call function on select(any value);</div>
</li>
<li class="level2"><div class="li"> checked - check checkbox if exists (in case of 3-state checkboxes values can be 1 - checked or -1 - unsure);</div>
</li>
<li class="level2"><div class="li"> nocheckbox - instruct component, to not render checkbox for related item, optional </div>
</li>
<li class="level2"><div class="li"> child - specifies whether a node has child items (1) or not (0);</div>
</li>
<li class="level2"><div class="li"> imheight - height of the icon;</div>
</li>
<li class="level2"><div class="li"> imwidth - width of the icon;</div>
</li>
<li class="level2"><div class="li"> topoffset - offset of the item from the node above;</div>
</li>
<li class="level2"><div class="li"> radio - if not empty, child items of this node will have radio buttons.</div>
</li>
</ul>
</li>
</ul>
<p>
To set userdata directly within <acronym title="Extensible Markup Language">XML</acronym>, the user should apply <userdata> tag that has only one attribute - name, and value to specify userdata value.
</p>
<p>
In <acronym title="Hypertext Preprocessor">PHP</acronym> script the following code should be used for the page header:
</p>
<pre class="code javascript"> <span class="sy0"><?</span>php
header<span class="br0">(</span><span class="st0">"Content-type: text/xml"</span><span class="br0">)</span>;
echo<span class="br0">(</span><span class="st0">'<?xml version="1.0" encoding="iso-8859-1" ?>'</span><span class="br0">)</span>;
</pre>
</div>
<h4><a name="xml_format_with_links_specified" id="xml_format_with_links_specified">XML Format with Links Specified</a></h4>
<div class="level4">
<p>
<acronym title="Extensible Markup Language">XML</acronym> format template for the tree containing links:
</p>
<pre class="code javascript"> <span class="sy0"><</span>tree..<span class="sy0">></span>
<span class="sy0"><</span>item ...<span class="sy0">></span>
<span class="sy0"><</span>userdata <span class="kw3">name</span><span class="sy0">=</span><span class="st0">"myurl"</span><span class="sy0">></span>http<span class="sy0">:</span><span class="co1">//www.google.com</userdata></span>
<span class="sy0"><</span>item ...<span class="sy0">></span>
<span class="sy0"><</span>userdata <span class="kw3">name</span><span class="sy0">=</span><span class="st0">"myurl"</span><span class="sy0">></span>http<span class="sy0">:</span><span class="co1">//groups.google.com</userdata></span>
<span class="sy0"></</span>item<span class="sy0">></span>
<span class="sy0"></</span>item<span class="sy0">></span>
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="86-3500" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:syntax_templates" /><input type="submit" value="Edit" class="button" title="XML Format Template" /></div></form></div>
<h3><a name="json_format_template" id="json_format_template">JSON Format Template</a></h3>
<div class="level3">
<p>
The structure of JSON template is like the one of <acronym title="Extensible Markup Language">XML</acronym>, where tags are transformed to objects, and attributes to properties.
</p>
<pre class="code javascript"> <span class="br0">{</span>id<span class="sy0">:</span>0<span class="sy0">,</span>
<span class="kw1">item</span><span class="sy0">:</span><span class="br0">[</span>
<span class="br0">{</span>id<span class="sy0">:</span><span class="nu0">1</span><span class="sy0">,</span>text<span class="sy0">:</span><span class="st0">"first"</span><span class="br0">}</span><span class="sy0">,</span>
<span class="br0">{</span>id<span class="sy0">:</span><span class="nu0">2</span><span class="sy0">,</span> text<span class="sy0">:</span><span class="st0">"middle"</span><span class="sy0">,</span>child<span class="sy0">:</span><span class="st0">"1"</span><span class="sy0">,</span>img0<span class="sy0">:</span><span class="st0">"book.gif"</span><span class="sy0">,</span>
<span class="kw1">item</span><span class="sy0">:</span><span class="br0">[</span>
<span class="br0">{</span>id<span class="sy0">:</span><span class="st0">"21"</span><span class="sy0">,</span> text<span class="sy0">:</span><span class="st0">"child"</span><span class="br0">}</span>
<span class="br0">]</span><span class="br0">}</span><span class="sy0">,</span>
<span class="br0">{</span>id<span class="sy0">:</span><span class="nu0">3</span><span class="sy0">,</span>text<span class="sy0">:</span><span class="st0">"last"</span><span class="br0">}</span>
<span class="br0">]</span>
<span class="br0">}</span>
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="3501-3963" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:syntax_templates" /><input type="submit" value="Edit" class="button" title="JSON Format Template" /></div></form></div>
<h3><a name="csv_format_template" id="csv_format_template">CSV Format Template</a></h3>
<div class="level3">
<p>
A tree item is represented with three values - id, parent_id, text.
</p>
<p>
For example:
</p>
<pre class="code javascript"> <span class="nu0">1</span><span class="sy0">,</span>0<span class="sy0">,</span>node <span class="nu0">1</span>
<span class="nu0">2</span><span class="sy0">,</span><span class="nu0">1</span><span class="sy0">,</span>node <span class="nu0">1.1</span>
<span class="nu0">3</span><span class="sy0">,</span><span class="nu0">2</span><span class="sy0">,</span>node 1.1.1
<span class="nu0">4</span><span class="sy0">,</span>0<span class="sy0">,</span>node <span class="nu0">2</span>
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="3964-4186" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:syntax_templates" /><input type="submit" value="Edit" class="button" title="CSV Format Template" /></div></form></div>
<h3><a name="js_array_format_template" id="js_array_format_template">JS Array Format Template</a></h3>
<div class="level3">
<p>
Tree item is represented with three values as sub-arrays of the top array - id, parent_id, text.
</p>
<p>
For example:
</p>
<pre class="code javascript"> <span class="kw2">var</span> treeArray <span class="sy0">=</span> <span class="kw2">new</span> Array<span class="br0">(</span>
<span class="br0">[</span><span class="st0">"1"</span><span class="sy0">,</span><span class="st0">"0"</span><span class="sy0">,</span><span class="st0">"node 1"</span><span class="br0">]</span><span class="sy0">,</span>
<span class="br0">[</span><span class="st0">"2"</span><span class="sy0">,</span><span class="st0">"1"</span><span class="sy0">,</span><span class="st0">"node 1.1"</span><span class="br0">]</span><span class="sy0">,</span>
<span class="br0">[</span><span class="st0">"3"</span><span class="sy0">,</span><span class="st0">"2"</span><span class="sy0">,</span><span class="st0">"node 1.1.1"</span><span class="br0">]</span><span class="sy0">,</span>
<span class="br0">[</span><span class="st0">"4"</span><span class="sy0">,</span><span class="st0">"0"</span><span class="sy0">,</span><span class="st0">"node 2"</span><span class="br0">]</span>
<span class="br0">)</span>
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="4187-4519" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:syntax_templates" /><input type="submit" value="Edit" class="button" title="JS Array Format Template" /></div></form></div>
<h3><a name="cold_fusion_tag_for_dhtmlxtree" id="cold_fusion_tag_for_dhtmlxtree">Cold Fusion Tag for dhtmlXTree</a></h3>
<div class="level3">
<p>
This section is devoted to a ready-made ColdFusion solution for the tree that, as it is believed by some users, simplifies usage of dhtmlxTree. For example:
</p>
<pre class="code javascript"> <span class="sy0"><</span>cf_dhtmlXTree
<span class="kw3">name</span><span class="sy0">=</span><span class="st0">"tree"</span>
width<span class="sy0">=</span><span class="st0">"250"</span>
height<span class="sy0">=</span><span class="st0">"250"</span>
JSPath<span class="sy0">=</span><span class="st0">"../"</span> CSSPath<span class="sy0">=</span><span class="st0">"../"</span>
iconspath<span class="sy0">=</span><span class="st0">"gfx/"</span>
xmldoc<span class="sy0">=</span><span class="st0">"tree.xml"</span>
checkboxes<span class="sy0">=</span><span class="st0">"false"</span>
dragndrop<span class="sy0">=</span><span class="st0">"true"</span>
style<span class="sy0">=</span><span class="st0">"background-color:whitesmoke;border:1px solid blue;"</span>
onSelect<span class="sy0">=</span><span class="st0">"onNodeSelect"</span>
onDrop<span class="sy0">=</span><span class="st0">"onDropNode"</span><span class="sy0">></span>
...<span class="me1">configuration</span> xml...
<span class="sy0"></</span>cf_dhtmlXTree<span class="sy0">></span>
</pre>
<p>
The parameters that should be indicated are as follows:
</p>
<ul>
<li class="level1"><div class="li"> name - [optional] name of the tree <acronym title="JavaScript">JS</acronym> object to use in JavaScript; if omitted, then name will be generated automatically;</div>
</li>
<li class="level1"><div class="li"> width - [optional] width of the tree (it sets the with of the tree box, leaving the width of the tree itself by 100%);</div>
</li>
<li class="level1"><div class="li"> height - [optional] height of the tree;</div>
</li>
<li class="level1"><div class="li"> JSPath - [optional] absolute or relative path to the directory containing tree <acronym title="JavaScript">JS</acronym> files; “js” directory by default;</div>
</li>
<li class="level1"><div class="li"> CSSPath - [optional] absolute or relative path to the directory containing tree <acronym title="Cascading Style Sheets">CSS</acronym> files; “css” directory by default;</div>
</li>
<li class="level1"><div class="li"> iconspath - [optional] absolute or relative path to the directory containing tree icon files; “img” directory by default;</div>
</li>
<li class="level1"><div class="li"> xmldoc - [mandatory for xml loading] <acronym title="Uniform Resource Locator">URL</acronym> of the <acronym title="Extensible Markup Language">XML</acronym> file used to load levels dynamically;</div>
</li>
<li class="level1"><div class="li"> checkboxes - [optional] show checkboxes (none, twoState, threeState);</div>
</li>
<li class="level1"><div class="li"> dragndrop - [optional] activate drag-&amp;-drop (true,false);</div>
</li>
<li class="level1"><div class="li"> style - [optional] style for the tree box;</div>
</li>
<li class="level1"><div class="li"> onSelect - [optional] JavaScript function to be called on node selection;</div>
</li>
<li class="level1"><div class="li"> oncheck - [optional] JavaScript function to be called on node (un)checking;</div>
</li>
<li class="level1"><div class="li"> onDrop - [optional] JavaScript function to be called on node drop;</div>
</li>
<li class="level1"><div class="li"> im1 - [optional] default image used for child nodes;</div>
</li>
<li class="level1"><div class="li"> im2 - [optional] default image used for expanded branches;</div>
</li>
<li class="level1"><div class="li"> im3 - [optional] default image used for collapsed branches.</div>
</li>
</ul>
<p>
Please, refer to <a href="dhtmlxtree___initialization_of_dhtmlxtree.html" class="wikilink1" title="dhtmlxtree:initialization_of_dhtmlxtree">Data Loading from XML</a> section.
</p>
<p>
Minimal possible tag syntax with on-page <acronym title="Extensible Markup Language">XML</acronym> is the following:
</p>
<pre class="code javascript"> <span class="sy0"><</span>cf_dhtmlXTree<span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Top node"</span> id<span class="sy0">=</span><span class="st0">"t1"</span> <span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Child node 1"</span> id<span class="sy0">=</span><span class="st0">"c1"</span> <span class="sy0">></</span>item<span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Child node 2"</span> id<span class="sy0">=</span><span class="st0">"c2"</span> <span class="sy0">></</span>item<span class="sy0">></span>
<span class="sy0"></</span>item<span class="sy0">></span>
<span class="sy0">/</span>cf_dhtmlXTree<span class="sy0">></span>
</pre>
<p>
Minimal possible tag syntax with server-side <acronym title="Extensible Markup Language">XML</acronym> is as follows:
</p>
<pre class="code javascript"> <span class="sy0"><</span>cf_dhtmlXTree xmldoc<span class="sy0">=</span><span class="st0">"tree.xml"</span><span class="sy0">></span>
<span class="sy0"></</span>cf_dhtmlXTree<span class="sy0">></span>
</pre>
<p>
Here is the example of ColdFusion tag for the tree with images specified:
</p>
<pre class="code javascript"> <span class="sy0"><</span>cf_dhtmlXTree
im1<span class="sy0">=</span><span class="st0">"book.gif"</span>
im2<span class="sy0">=</span><span class="st0">"books_open.gif"</span>
im3<span class="sy0">=</span><span class="st0">"books_close.gif"</span><span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Mystery "</span> id<span class="sy0">=</span><span class="st0">"mystery"</span> <span class="kw3">open</span><span class="sy0">=</span><span class="st0">"yes"</span> <span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Lawrence Block"</span> id<span class="sy0">=</span><span class="st0">"lb"</span> <span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"All the Flowers Are Dying"</span> id<span class="sy0">=</span><span class="st0">"lb_1"</span> <span class="sy0">/></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"The Burglar on the Prowl"</span> id<span class="sy0">=</span><span class="st0">"lb_2"</span> <span class="sy0">/></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"The Plot Thickens"</span> id<span class="sy0">=</span><span class="st0">"lb_3"</span> <span class="sy0">/></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Grifters Game"</span> id<span class="sy0">=</span><span class="st0">"lb_4"</span> <span class="sy0">/></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"The Burglar Who Thought He Was Bogart"</span> id<span class="sy0">=</span><span class="st0">"lb_5"</span> <span class="sy0">/></span>
<span class="sy0"></</span>item<span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Robert Crais"</span> id<span class="sy0">=</span><span class="st0">"rc"</span> <span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"The Forgotten Man"</span> id<span class="sy0">=</span><span class="st0">"rc_1"</span> <span class="sy0">/></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Stalking the Angel"</span> id<span class="sy0">=</span><span class="st0">"rc_2"</span> <span class="sy0">/></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Free Fall"</span> id<span class="sy0">=</span><span class="st0">"rc_3"</span> <span class="sy0">/></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Sunset Express"</span> id<span class="sy0">=</span><span class="st0">"rc_4"</span> <span class="sy0">/></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Hostage"</span> id<span class="sy0">=</span><span class="st0">"rc_5"</span> <span class="sy0">/></span>
<span class="sy0"></</span>item<span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Ian Rankin"</span> id<span class="sy0">=</span><span class="st0">"ir"</span> <span class="sy0">></</span>item<span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"James Patterson"</span> id<span class="sy0">=</span><span class="st0">"jp"</span> <span class="sy0">></</span>item<span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Nancy Atherton"</span> id<span class="sy0">=</span><span class="st0">"na"</span> <span class="sy0">></</span>item<span class="sy0">></span>
<span class="sy0"></</span>item<span class="sy0">></span>
<span class="sy0"></</span>cf_dhtmlXTree<span class="sy0">></span>
</pre>
<p>
The following code snippet shows creation of the tree with Events Handlers, Checkboxes, and Drag-n-drop functionality:
</p>
<pre class="code javascript"> <span class="sy0"><</span>cf_dhtmlXTree
dragndrop<span class="sy0">=</span><span class="st0">"true"</span>
checkboxes<span class="sy0">=</span><span class="st0">"twoState"</span>
onSelect<span class="sy0">=</span><span class="st0">"onClick"</span>
onCheck<span class="sy0">=</span><span class="st0">"onCheck"</span>
onDrop<span class="sy0">=</span><span class="st0">"onDrag"</span><span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Mystery "</span> id<span class="sy0">=</span><span class="st0">"mystery"</span> <span class="kw3">open</span><span class="sy0">=</span><span class="st0">"yes"</span> <span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Lawrence Block"</span> id<span class="sy0">=</span><span class="st0">"lb"</span> <span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"All the Flowers Are Dying"</span> id<span class="sy0">=</span><span class="st0">"lb_1"</span> <span class="sy0">/></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"The Burglar on the Prowl"</span> id<span class="sy0">=</span><span class="st0">"lb_2"</span> <span class="sy0">/></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"The Plot Thickens"</span> id<span class="sy0">=</span><span class="st0">"lb_3"</span> <span class="sy0">/></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Grifters Game"</span> id<span class="sy0">=</span><span class="st0">"lb_4"</span> <span class="sy0">/></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"The Burglar Who Thought He Was Bogart"</span> id<span class="sy0">=</span><span class="st0">"lb_5"</span> <span class="sy0">/></span>
<span class="sy0"></</span>item<span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Robert Crais"</span> id<span class="sy0">=</span><span class="st0">"rc"</span> <span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"The Forgotten Man"</span> id<span class="sy0">=</span><span class="st0">"rc_1"</span> <span class="sy0">/></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Stalking the Angel"</span> id<span class="sy0">=</span><span class="st0">"rc_2"</span> <span class="sy0">/></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Free Fall"</span> id<span class="sy0">=</span><span class="st0">"rc_3"</span> <span class="sy0">/></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Sunset Express"</span> id<span class="sy0">=</span><span class="st0">"rc_4"</span> <span class="sy0">/></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Hostage"</span> id<span class="sy0">=</span><span class="st0">"rc_5"</span> <span class="sy0">/></span>
<span class="sy0"></</span>item<span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Ian Rankin"</span> id<span class="sy0">=</span><span class="st0">"ir"</span> <span class="sy0">></</span>item<span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"James Patterson"</span> id<span class="sy0">=</span><span class="st0">"jp"</span> <span class="sy0">><</span>item<span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Nancy Atherton"</span> id<span class="sy0">=</span><span class="st0">"na"</span> <span class="sy0">></</span>item<span class="sy0">></span>
<span class="sy0"></</span>item<span class="sy0">></span>
<span class="sy0"></</span>cf_dhtmlXTree<span class="sy0">></span>
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="4520-" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:syntax_templates" /><input type="submit" value="Edit" class="button" title="Cold Fusion Tag for dhtmlXTree" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/syntax_templates.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:syntax_templates" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:syntax_templates" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:syntax_templates" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Asyntax_templates&1279804934" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:syntax_templates" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___syntax_templates.html | HTML | art | 39,384 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_openitem [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_openitem</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openitem" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openitem" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openitem" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_openitem" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_openitem">api_method_dhtmlxtreeobject_openitem</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="openitem_itemid" id="openitem_itemid">openItem(itemId)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
expand node
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of node</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openitem" /><input type="submit" value="Edit" class="button" title="openItem(itemId)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_openitem.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openitem" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openitem" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openitem" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_openitem&1279804921" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openitem" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_openitem.html | HTML | art | 8,067 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:event_ondblclick [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:event_ondblclick</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_ondblclick" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_ondblclick" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:event_ondblclick" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:event_ondblclick" class="breadcrumbs" title="dhtmlxtree:event_ondblclick">event_ondblclick</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div></div>
</p>
<h2><a name="ondblclick_event" id="ondblclick_event">onDblClick Event</a></h2>
<div class="level2">
<p>
This event calls user-defined handlers (if there are any) and passes the following parameter:
</p>
<ul>
<li class="level1"><div class="li"> id - id of the node that was doubleclicked.</div>
</li>
</ul>
<pre class="code javascript"> tree.<span class="me1">attachEvent</span><span class="br0">(</span><span class="st0">"onDblClick"</span><span class="sy0">,</span> <span class="kw2">function</span><span class="br0">(</span>id<span class="br0">)</span><span class="br0">{</span><span class="br0">}</span><span class="br0">)</span>;
</pre>
<p>
The event returns:
</p>
<p>
true - confirms opening|closing;<br/>
false - denies opening|closing.
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="54-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:event_ondblclick" /><input type="submit" value="Edit" class="button" title="onDblClick Event" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/event_ondblclick.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_ondblclick" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_ondblclick" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:event_ondblclick" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aevent_ondblclick&1279804933" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_ondblclick" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___event_ondblclick.html | HTML | art | 7,943 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_enabledistributedparsing [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_enabledistributedparsing</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabledistributedparsing" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabledistributedparsing" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabledistributedparsing" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_enabledistributedparsing" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabledistributedparsing">api_method_dhtmlxtreeobject_enabledistributedparsing</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="enabledistributedparsing_mode_count_delay" id="enabledistributedparsing_mode_count_delay">enableDistributedParsing(mode,count,delay)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
enable distributed parsing of big tree (items loaded portion by portion with some timeouts)
</p>
<ul>
<li class="level1"><div class="li"> mode - true/false</div>
</li>
<li class="level1"><div class="li"> count - critical count to start distibuting (optional)</div>
</li>
<li class="level1"><div class="li"> delay - delay between distributed calls, ms (optional)</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabledistributedparsing" /><input type="submit" value="Edit" class="button" title="enableDistributedParsing(mode,count,delay)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_enabledistributedparsing.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabledistributedparsing" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabledistributedparsing" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabledistributedparsing" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_enabledistributedparsing&1279804928" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabledistributedparsing" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_enabledistributedparsing.html | HTML | art | 8,717 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_setitemtext [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_setitemtext</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemtext" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemtext" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemtext" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_setitemtext" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemtext">api_method_dhtmlxtreeobject_setitemtext</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="setitemtext_itemid_newlabel_newtooltip" id="setitemtext_itemid_newlabel_newtooltip">setItemText(itemId,newLabel,newTooltip)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
set new node text (<acronym title="HyperText Markup Language">HTML</acronym> allowed)
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of node</div>
</li>
<li class="level1"><div class="li"> newLabel - node text</div>
</li>
<li class="level1"><div class="li"> newTooltip - (optional)tooltip for the node</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemtext" /><input type="submit" value="Edit" class="button" title="setItemText(itemId,newLabel,newTooltip)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_setitemtext.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemtext" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemtext" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemtext" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_setitemtext&1279804920" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemtext" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_setitemtext.html | HTML | art | 8,439 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_enabledraganddropscrolling [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_enabledraganddropscrolling</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabledraganddropscrolling" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabledraganddropscrolling" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabledraganddropscrolling" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_enabledraganddropscrolling" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabledraganddropscrolling">api_method_dhtmlxtreeobject_enabledraganddropscrolling</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="enabledraganddropscrolling_mode" id="enabledraganddropscrolling_mode">enableDragAndDropScrolling(mode)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
enable/disable auto scrolling while drag-and-drop
</p>
<ul>
<li class="level1"><div class="li"> mode - enabled/disabled</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabledraganddropscrolling" /><input type="submit" value="Edit" class="button" title="enableDragAndDropScrolling(mode)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_enabledraganddropscrolling.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabledraganddropscrolling" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabledraganddropscrolling" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabledraganddropscrolling" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_enabledraganddropscrolling&1279804925" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabledraganddropscrolling" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_enabledraganddropscrolling.html | HTML | art | 8,443 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_enabletextsigns [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_enabletextsigns</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabletextsigns" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabletextsigns" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabletextsigns" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_enabletextsigns" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabletextsigns">api_method_dhtmlxtreeobject_enabletextsigns</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="enabletextsigns_mode" id="enabletextsigns_mode">enableTextSigns(mode)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
replace images with text signs
</p>
<ul>
<li class="level1"><div class="li"> mode - true/false</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabletextsigns" /><input type="submit" value="Edit" class="button" title="enableTextSigns(mode)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_enabletextsigns.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabletextsigns" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabletextsigns" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabletextsigns" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_enabletextsigns&1279804931" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enabletextsigns" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_enabletextsigns.html | HTML | art | 8,231 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_setdatamode [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_setdatamode</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setdatamode" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setdatamode" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setdatamode" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_setdatamode" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_setdatamode">api_method_dhtmlxtreeobject_setdatamode</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="setdatamode_mode" id="setdatamode_mode">setDataMode(mode)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
set default data transfer mode
</p>
<ul>
<li class="level1"><div class="li"> mode - data mode (json,xml,csv)</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setdatamode" /><input type="submit" value="Edit" class="button" title="setDataMode(mode)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_setdatamode.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setdatamode" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setdatamode" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setdatamode" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_setdatamode&1279804926" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setdatamode" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_setdatamode.html | HTML | art | 8,147 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_setcheck [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_setcheck</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setcheck" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setcheck" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setcheck" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_setcheck" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_setcheck">api_method_dhtmlxtreeobject_setcheck</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="setcheck_itemid_state" id="setcheck_itemid_state">setCheck(itemId,state)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
set state of node's checkbox
</p>
<ul>
<li class="level1"><div class="li"> itemId - target node id</div>
</li>
<li class="level1"><div class="li"> state - checkbox state (0/1/“unsure”)</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setcheck" /><input type="submit" value="Edit" class="button" title="setCheck(itemId,state)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_setcheck.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setcheck" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setcheck" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setcheck" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_setcheck&1279804930" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setcheck" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_setcheck.html | HTML | art | 8,207 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_setescapingmode [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_setescapingmode</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setescapingmode" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setescapingmode" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setescapingmode" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_setescapingmode" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_setescapingmode">api_method_dhtmlxtreeobject_setescapingmode</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="setescapingmode_mode" id="setescapingmode_mode">setEscapingMode(mode)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
set escaping mode (used for escaping ID in requests)
</p>
<ul>
<li class="level1"><div class="li"> mode - escaping mode (“utf8” for UTF escaping)</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setescapingmode" /><input type="submit" value="Edit" class="button" title="setEscapingMode(mode)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_setescapingmode.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setescapingmode" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setescapingmode" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setescapingmode" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_setescapingmode&1279804929" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setescapingmode" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_setescapingmode.html | HTML | art | 8,264 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_enablemultilineitems [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_enablemultilineitems</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultilineitems" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultilineitems" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultilineitems" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_enablemultilineitems" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultilineitems">api_method_dhtmlxtreeobject_enablemultilineitems</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="enablemultilineitems_width" id="enablemultilineitems_width">enableMultiLineItems(width)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
enable multi line items
</p>
<ul>
<li class="level1"><div class="li"> width - text width, if equls zero then use single lines items;</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultilineitems" /><input type="submit" value="Edit" class="button" title="enableMultiLineItems(width)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_enablemultilineitems.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultilineitems" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultilineitems" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultilineitems" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_enablemultilineitems&1279804931" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultilineitems" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_enablemultilineitems.html | HTML | art | 8,368 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_refreshitems [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_refreshitems</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitems" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitems" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitems" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_refreshitems" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitems">api_method_dhtmlxtreeobject_refreshitems</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="refreshitems_itemidlist_source" id="refreshitems_itemidlist_source">refreshItems(itemIdList,source)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
refresh specified tree nodes (get <acronym title="Extensible Markup Language">XML</acronym> from server and updat only nodes included in itemIdList)
</p>
<ul>
<li class="level1"><div class="li"> itemIdList - list of node identificators</div>
</li>
<li class="level1"><div class="li"> source - server side script</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitems" /><input type="submit" value="Edit" class="button" title="refreshItems(itemIdList,source)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_refreshitems.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitems" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitems" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitems" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_refreshitems&1279804926" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitems" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_refreshitems.html | HTML | art | 8,443 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:event_onrightclick [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:event_onrightclick</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onrightclick" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_onrightclick" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:event_onrightclick" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:event_onrightclick" class="breadcrumbs" title="dhtmlxtree:event_onrightclick">event_onrightclick</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div></div>
</p>
<h2><a name="onrightclick_event" id="onrightclick_event">onRightClick Event</a></h2>
<div class="level2">
<p>
This event calls user-defined handlers (if there are any) and passes the following parameters:
</p>
<ul>
<li class="level1"><div class="li"> id - id of the clicked item;</div>
</li>
<li class="level1"><div class="li"> object - event object.</div>
</li>
</ul>
<pre class="code javascript"> tree.<span class="me1">attachEvent</span><span class="br0">(</span><span class="st0">"onRightClick"</span><span class="sy0">,</span> <span class="kw2">function</span><span class="br0">(</span>id<span class="sy0">,</span> object<span class="br0">)</span><span class="br0">{</span><span class="br0">}</span><span class="br0">)</span>;
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="54-" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:event_onrightclick" /><input type="submit" value="Edit" class="button" title="onRightClick Event" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/event_onrightclick.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onrightclick" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_onrightclick" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:event_onrightclick" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aevent_onrightclick&1279804933" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onrightclick" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___event_onrightclick.html | HTML | art | 7,960 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_getchilditemidbyindex [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_getchilditemidbyindex</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getchilditemidbyindex" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getchilditemidbyindex" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getchilditemidbyindex" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_getchilditemidbyindex" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_getchilditemidbyindex">api_method_dhtmlxtreeobject_getchilditemidbyindex</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="getchilditemidbyindex_itemid_index" id="getchilditemidbyindex_itemid_index">getChildItemIdByIndex(itemId,index)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
retun child node id by index
</p>
<ul>
<li class="level1"><div class="li"> itemId - parent node id</div>
</li>
<li class="level1"><div class="li"> index - index of child node</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getchilditemidbyindex" /><input type="submit" value="Edit" class="button" title="getChildItemIdByIndex(itemId,index)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_getchilditemidbyindex.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getchilditemidbyindex" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getchilditemidbyindex" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getchilditemidbyindex" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_getchilditemidbyindex&1279804924" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getchilditemidbyindex" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_getchilditemidbyindex.html | HTML | art | 8,435 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_setxmlautoloading [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_setxmlautoloading</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setxmlautoloading" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setxmlautoloading" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setxmlautoloading" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_setxmlautoloading" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_setxmlautoloading">api_method_dhtmlxtreeobject_setxmlautoloading</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="setxmlautoloading_filepath" id="setxmlautoloading_filepath">setXMLAutoLoading(filePath)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
enables dynamic loading from <acronym title="Extensible Markup Language">XML</acronym>
</p>
<ul>
<li class="level1"><div class="li"> filePath - name of script returning <acronym title="Extensible Markup Language">XML</acronym>; in case of virtual loading - user defined function</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setxmlautoloading" /><input type="submit" value="Edit" class="button" title="setXMLAutoLoading(filePath)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_setxmlautoloading.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setxmlautoloading" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setxmlautoloading" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setxmlautoloading" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_setxmlautoloading&1279804926" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setxmlautoloading" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_setxmlautoloading.html | HTML | art | 8,447 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_stopedit [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_stopedit</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_stopedit" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_stopedit" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_stopedit" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_stopedit" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_stopedit">api_method_dhtmlxtreeobject_stopedit</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="stopedit" id="stopedit">stopEdit()</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_ed.js</em>
</p>
<p>
switch currently edited item back to normal view
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_stopedit" /><input type="submit" value="Edit" class="button" title="stopEdit()" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_stopedit.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_stopedit" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_stopedit" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_stopedit" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_stopedit&1279804920" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_stopedit" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_stopedit.html | HTML | art | 7,999 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_getopenstate [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_getopenstate</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getopenstate" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getopenstate" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getopenstate" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_getopenstate" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_getopenstate">api_method_dhtmlxtreeobject_getopenstate</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="getopenstate_itemid" id="getopenstate_itemid">getOpenState(itemId)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
return open/close state
</p>
<ul>
<li class="level1"><div class="li"> itemId - node id</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getopenstate" /><input type="submit" value="Edit" class="button" title="getOpenState(itemId)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_getopenstate.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getopenstate" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getopenstate" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getopenstate" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_getopenstate&1279804923" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getopenstate" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_getopenstate.html | HTML | art | 8,152 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_haschildren [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_haschildren</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_haschildren" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_haschildren" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_haschildren" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_haschildren" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_haschildren">api_method_dhtmlxtreeobject_haschildren</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="haschildren_itemid" id="haschildren_itemid">hasChildren(itemId)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
return number of children
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of node</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_haschildren" /><input type="submit" value="Edit" class="button" title="hasChildren(itemId)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_haschildren.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_haschildren" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_haschildren" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_haschildren" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_haschildren&1279804922" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_haschildren" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_haschildren.html | HTML | art | 8,138 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_getlevel [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_getlevel</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getlevel" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getlevel" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getlevel" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_getlevel" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_getlevel">api_method_dhtmlxtreeobject_getlevel</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="getlevel_itemid" id="getlevel_itemid">getLevel(itemId)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
get node level (position in hierarchy)
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of node</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getlevel" /><input type="submit" value="Edit" class="button" title="getLevel(itemId)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_getlevel.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getlevel" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getlevel" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getlevel" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_getlevel&1279804923" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getlevel" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_getlevel.html | HTML | art | 8,094 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_setsubchecked [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_setsubchecked</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setsubchecked" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setsubchecked" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setsubchecked" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_setsubchecked" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_setsubchecked">api_method_dhtmlxtreeobject_setsubchecked</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="setsubchecked_itemid_state" id="setsubchecked_itemid_state">setSubChecked(itemId,state)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
change state of node's checkbox and all children checkboxes
</p>
<ul>
<li class="level1"><div class="li"> itemId - target node id</div>
</li>
<li class="level1"><div class="li"> state - checkbox state</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setsubchecked" /><input type="submit" value="Edit" class="button" title="setSubChecked(itemId,state)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_setsubchecked.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setsubchecked" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setsubchecked" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setsubchecked" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_setsubchecked&1279804930" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setsubchecked" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_setsubchecked.html | HTML | art | 8,314 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_setitemcontextmenu [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_setitemcontextmenu</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcontextmenu" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcontextmenu" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcontextmenu" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_setitemcontextmenu" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcontextmenu">api_method_dhtmlxtreeobject_setitemcontextmenu</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="setitemcontextmenu_itemid_cmenu" id="setitemcontextmenu_itemid_cmenu">setItemContextMenu(itemId,cMenu)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
set context menu to individual nodes
</p>
<ul>
<li class="level1"><div class="li"> itemId - node id</div>
</li>
<li class="level1"><div class="li"> cMenu - context menu object</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcontextmenu" /><input type="submit" value="Edit" class="button" title="setItemContextMenu(itemId,cMenu)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_setitemcontextmenu.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcontextmenu" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcontextmenu" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcontextmenu" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_setitemcontextmenu&1279804928" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcontextmenu" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_setitemcontextmenu.html | HTML | art | 8,401 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:event_onedit [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:event_onedit</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onedit" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_onedit" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:event_onedit" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:event_onedit" class="breadcrumbs" title="dhtmlxtree:event_onedit">event_onedit</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div></div>
</p>
<h2><a name="onedit_event" id="onedit_event">onEdit Event</a></h2>
<div class="level2">
<p>
This event calls user-defined handlers (if there are any) and passes the following parameters:
</p>
<ul>
<li class="level1"><div class="li"> state - 0 = before starting of editing, 1 = after starting of editing, 2 = before editor's closing, 3 = after editor's closing;</div>
</li>
<li class="level1"><div class="li"> id - id of the edited item;</div>
</li>
<li class="level1"><div class="li"> tree - tree object;</div>
</li>
<li class="level1"><div class="li"> value - value of the editor (for stages 0 and 2).</div>
</li>
</ul>
<pre class="code javascript"> tree.<span class="me1">attachEvent</span><span class="br0">(</span><span class="st0">"onEdit"</span><span class="sy0">,</span> <span class="kw2">function</span><span class="br0">(</span>state<span class="sy0">,</span>id<span class="sy0">,</span>tree<span class="sy0">,</span>value<span class="br0">)</span><span class="br0">{</span><span class="br0">}</span><span class="br0">)</span>;
</pre>
<p>
For stages 0 and 2 this event returns: true - confirms opening|closing, false - denies opening|closing; text - edit value.
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="53-" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:event_onedit" /><input type="submit" value="Edit" class="button" title="onEdit Event" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/event_onedit.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onedit" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_onedit" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:event_onedit" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aevent_onedit&1279804934" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onedit" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___event_onedit.html | HTML | art | 8,317 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_saveselecteditem [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_saveselecteditem</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_saveselecteditem" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_saveselecteditem" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_saveselecteditem" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_saveselecteditem" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_saveselecteditem">api_method_dhtmlxtreeobject_saveselecteditem</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="saveselecteditem_name_cookie_param" id="saveselecteditem_name_cookie_param">saveSelectedItem(name,cookie_param)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_xw.js</em>
</p>
<p>
save selected item to cookie
</p>
<ul>
<li class="level1"><div class="li"> name - optional, cookie name</div>
</li>
<li class="level1"><div class="li"> cookie_param - additional parametrs added to cookie</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_saveselecteditem" /><input type="submit" value="Edit" class="button" title="saveSelectedItem(name,cookie_param)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_saveselecteditem.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_saveselecteditem" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_saveselecteditem" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_saveselecteditem" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_saveselecteditem&1279804928" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_saveselecteditem" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_saveselecteditem.html | HTML | art | 8,414 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_getdistributedparsingstate [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_getdistributedparsingstate</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getdistributedparsingstate" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getdistributedparsingstate" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getdistributedparsingstate" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_getdistributedparsingstate" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_getdistributedparsingstate">api_method_dhtmlxtreeobject_getdistributedparsingstate</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="getdistributedparsingstate" id="getdistributedparsingstate">getDistributedParsingState()</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
get current state of distributed parsing
</p>
<p>
Returns true - still parsing; false - parsing finished
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getdistributedparsingstate" /><input type="submit" value="Edit" class="button" title="getDistributedParsingState()" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_getdistributedparsingstate.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getdistributedparsingstate" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getdistributedparsingstate" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getdistributedparsingstate" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_getdistributedparsingstate&1279804924" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getdistributedparsingstate" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_getdistributedparsingstate.html | HTML | art | 8,418 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_setitemcolor [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_setitemcolor</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcolor" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcolor" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcolor" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_setitemcolor" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcolor">api_method_dhtmlxtreeobject_setitemcolor</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="setitemcolor_itemid_defaultcolor_selectedcolor" id="setitemcolor_itemid_defaultcolor_selectedcolor">setItemColor(itemId,defaultColor,selectedColor)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
set node text color
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of node</div>
</li>
<li class="level1"><div class="li"> defaultColor - node color</div>
</li>
<li class="level1"><div class="li"> selectedColor - selected node color</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcolor" /><input type="submit" value="Edit" class="button" title="setItemColor(itemId,defaultColor,selectedColor)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_setitemcolor.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcolor" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcolor" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcolor" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_setitemcolor&1279804931" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcolor" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_setitemcolor.html | HTML | art | 8,417 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_constructor [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_constructor</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_constructor" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_constructor" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_constructor" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_constructor" class="breadcrumbs" title="dhtmlxtree:api_constructor">api_constructor</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href="index.html" class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h2><a name="constructor_of_dhtmlxtree" id="constructor_of_dhtmlxtree">Constructor of dhtmlxTree</a></h2>
<div class="level2">
<pre class="code javascript"> <span class="kw2">var</span> mytree <span class="sy0">=</span> <span class="kw2">new</span> dhtmlXTreeObject<span class="br0">(</span>parent<span class="sy0">,</span>width<span class="sy0">,</span> height<span class="sy0">,</span> rootId <span class="br0">)</span></pre>
<p>
where
</p>
<ul>
<li class="level1"><div class="li"> parent - id of <acronym title="HyperText Markup Language">HTML</acronym> element which will be used as parent ( or object itself</div>
</li>
<li class="level1"><div class="li"> width - width of tree</div>
</li>
<li class="level1"><div class="li"> height - height of tree</div>
</li>
<li class="level1"><div class="li"> virtual root ID</div>
</li>
</ul>
<pre class="code html4strict"> <span class="sc2"><<a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">'my_tree_here'</span>><<span class="sy0">/</span><a href="http://december.com/html/4/element/div.html"><span class="kw2">div</span></a>></span>
<span class="sc2"><<a href="http://december.com/html/4/element/script.html"><span class="kw2">script</span></a>></span>
//common init code
var mytree = new dhtmlXTreeObject("my_tree_here","100%","100%",0);
<span class="sc2"><<span class="sy0">/</span><a href="http://december.com/html/4/element/script.html"><span class="kw2">script</span></a>></span></pre>
<p>
Layout, Window, Accordion, Tabbar can create a tree inside their cells by using
</p>
<pre class="code javascript"> some_component.<span class="me1">cells</span><span class="br0">(</span>some_id<span class="br0">)</span>.<span class="me1">attachTree</span><span class="br0">(</span>rootId<span class="br0">)</span></pre>
<p>
In this case rootId has same meaning as in native initialization ( it is an optional, 0 used as default value )
</p>
<p>
Starting from 2.5 version, tree can be initialized by object notation
</p>
<pre class="code javascript"> <span class="kw2">var</span> mytree <span class="sy0">=</span> <span class="kw2">new</span> dhtmlXTreeObject<span class="br0">(</span><span class="br0">{</span>
some_option1<span class="sy0">:</span>some_value_1<span class="sy0">,</span>
some_option2<span class="sy0">:</span>some_value_2<span class="sy0">,</span>
...
<span class="me1">some_optionN</span><span class="sy0">:</span>some_value_N<span class="sy0">,</span>
<span class="br0">}</span><span class="br0">)</span></pre>
<p>
<a href="dhtmlxtree___api_constructor_object.html" class="wikilink1" title="dhtmlxtree:api_constructor_object">List of supported options</a>
</p>
<pre class="code javascript"> tree <span class="sy0">=</span> <span class="kw2">new</span> dhtmlXTreeObject<span class="br0">(</span><span class="br0">{</span>
parent<span class="sy0">:</span><span class="st0">"a_tree"</span><span class="sy0">,</span>
image_path<span class="sy0">:</span><span class="st0">"codebase/imgs/csh_books/"</span><span class="sy0">,</span>
onClick<span class="sy0">:</span><span class="kw2">function</span><span class="br0">(</span><span class="br0">)</span><span class="br0">{</span>
<span class="kw3">alert</span><span class="br0">(</span><span class="st0">"I'm clicked"</span><span class="br0">)</span>;
<span class="br0">}</span><span class="sy0">,</span>
xml<span class="sy0">:</span><span class="st0">"tree3.xml"</span>
<span class="br0">}</span><span class="br0">)</span>;</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_constructor" /><input type="submit" value="Edit" class="button" title="Constructor of dhtmlxTree" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_constructor.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_constructor" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_constructor" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_constructor" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_constructor&1279804932" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_constructor" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_constructor.html | HTML | art | 11,131 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_enablekeysearch [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_enablekeysearch</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablekeysearch" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablekeysearch" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablekeysearch" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_enablekeysearch" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablekeysearch">api_method_dhtmlxtreeobject_enablekeysearch</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="enablekeysearch_mode" id="enablekeysearch_mode">enableKeySearch(mode)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_kn.js</em>
</p>
<p>
enable search items by pressing keys (any item in tree should be focused/selected to make search work)
</p>
<ul>
<li class="level1"><div class="li"> mode - true/false</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablekeysearch" /><input type="submit" value="Edit" class="button" title="enableKeySearch(mode)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_enablekeysearch.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablekeysearch" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablekeysearch" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablekeysearch" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_enablekeysearch&1279804920" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablekeysearch" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_enablekeysearch.html | HTML | art | 8,306 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:initialization_of_dhtmlxtree [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:initialization_of_dhtmlxtree</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:initialization_of_dhtmlxtree" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:initialization_of_dhtmlxtree" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:initialization_of_dhtmlxtree" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:initialization_of_dhtmlxtree" class="breadcrumbs" title="dhtmlxtree:initialization_of_dhtmlxtree">initialization_of_dhtmlxtree</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<!-- TOC START -->
<div class="toc">
<div class="tocheader toctoggle" id="toc__header">Table of Contents</div>
<div id="toc__inside">
<ul class="toc">
<li class="clear">
<ul class="toc">
<li class="level2"><div class="li"><span class="li"><a href="#initialization_of_dhtmlxtree" class="toc">Initialization of dhtmlxTree</a></span></div>
<ul class="toc">
<li class="level3"><div class="li"><span class="li"><a href="#setting_image_path" class="toc">Setting Image Path</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#object-based_initialization" class="toc">Object-Based Initialization</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#initialization_from_html" class="toc">Initialization from HTML</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#data_loading" class="toc">Data Loading</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#data_transfer_mode" class="toc">Data Transfer Mode</a></span></div></li></ul>
</li></ul>
</li></ul>
</div>
</div>
<!-- TOC END -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href="index.html" class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div></div>
</p>
<h2><a name="initialization_of_dhtmlxtree" id="initialization_of_dhtmlxtree">Initialization of dhtmlxTree</a></h2>
<div class="level2">
<p>
dhtmlxTree can be initialized on page using one of the following initialization schemes:
</p>
<ul>
<li class="level1"><div class="li"> Object-based initialization;</div>
</li>
<li class="level1"><div class="li"> Initialization from <acronym title="HyperText Markup Language">HTML</acronym>.</div>
</li>
</ul>
<p>
Complete the following steps for any type of dhtmlxTree's initialization:
</p>
<ul>
<li class="level1"><div class="li"> Download the dhtmlxTree package from the server and place it in a folder;</div>
</li>
<li class="level1"><div class="li"> Create an html file;</div>
</li>
<li class="level1"><div class="li"> Place the full paths to dhtmlxTree's <acronym title="Cascading Style Sheets">CSS</acronym> and <acronym title="JavaScript">JS</acronym> files into the header of the created html file.</div>
</li>
</ul>
<pre class="code javascript"> <span class="sy0"><</span>head<span class="sy0">></span>
<span class="sy0"><</span>link rel<span class="sy0">=</span><span class="st0">"stylesheet"</span> type<span class="sy0">=</span><span class="st0">"text/css"</span> href<span class="sy0">=</span><span class="st0">"[full path to this file]/dhtmlxtree.css"</span><span class="sy0">></span>
<span class="sy0"><</span>script src<span class="sy0">=</span><span class="st0">"[full path to this file]/dhtmlxcommon.js"</span><span class="sy0">></</span>script<span class="sy0">></span>
<span class="sy0"><</span>script src<span class="sy0">=</span><span class="st0">"[full path to this file]/dhtmlxtree.js"</span><span class="sy0">></</span>script<span class="sy0">></span>
<span class="sy0"></</span>head<span class="sy0">></span>
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="53-827" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:initialization_of_dhtmlxtree" /><input type="submit" value="Edit" class="button" title="Initialization of dhtmlxTree" /></div></form></div>
<h3><a name="setting_image_path" id="setting_image_path">Setting Image Path</a></h3>
<div class="level3">
<p>
Full path to tree's images can be set in dhtmlxTree with the help of method setImagePath():
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">setImagePath</span><span class="br0">(</span><span class="st0">"[full path to this category]/codebase/imgs/"</span><span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The above mentioned method should be used after creation of new dhtmlXTreeObject, but before any of data loading methods.
</p>
<p>
The following predefined icon sets are available in dhtmlxTree:
</p>
<ul>
<li class="level1"><div class="li"> default</div>
</li>
</ul>
<p>
<img src="dhtmlxtree___dgr5rjkf_220gbgmh9gf_b.gif" class="media" alt="" />
</p>
<ul>
<li class="level1"><div class="li"> scbrblue</div>
</li>
</ul>
<p>
<img src="dhtmlxtree___dgr5rjkf_221cf28k8ff_b.gif" class="media" alt="" />
</p>
<ul>
<li class="level1"><div class="li"> yellowbooks</div>
</li>
</ul>
<p>
<img src="dhtmlxtree___dgr5rjkf_222gz6tpsdc_b.gif" class="media" alt="" />
</p>
<ul>
<li class="level1"><div class="li"> bluefolders</div>
</li>
</ul>
<p>
<img src="dhtmlxtree___dgr5rjkf_223fnxr7chh_b.gif" class="media" alt="" />
</p>
<ul>
<li class="level1"><div class="li"> books</div>
</li>
</ul>
<p>
<img src="dhtmlxtree___dgr5rjkf_224ggpqf8gx_b.gif" class="media" alt="" />
</p>
<ul>
<li class="level1"><div class="li"> vista</div>
</li>
</ul>
<p>
<img src="dhtmlxtree___dgr5rjkf_225fpw796gk_b.gif" class="media" alt="" />
</p>
<ul>
<li class="level1"><div class="li"> winstyle</div>
</li>
</ul>
<p>
<img src="dhtmlxtree___dgr5rjkf_226c3td7kc7_b.gif" class="media" alt="" />
</p>
<ul>
<li class="level1"><div class="li"> bluebooks</div>
</li>
</ul>
<p>
<img src="dhtmlxtree___dgr5rjkf_227f8jk4hd8_b.gif" class="media" alt="" />
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="828-1750" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:initialization_of_dhtmlxtree" /><input type="submit" value="Edit" class="button" title="Setting Image Path" /></div></form></div>
<h3><a name="object-based_initialization" id="object-based_initialization">Object-Based Initialization</a></h3>
<div class="level3">
<p>
The user needs to create an <acronym title="HyperText Markup Language">HTML</acronym> container where dhtmlxTree will be placed later. In this example the container is a <div> element on page which is placed in the <body> tag:
</p>
<pre class="code javascript"> <span class="sy0"><</span>div id<span class="sy0">=</span><span class="st0">"treeBox"</span> style<span class="sy0">=</span><span class="st0">"width:200;height:200"</span><span class="sy0">></</span>div<span class="sy0">></span>
</pre>
<p>
The next step is to create a new dhtmlXTreeObject and place it after the <div> element (container) that we've just created:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> tree <span class="sy0">=</span> <span class="kw2">new</span> dhtmlXTreeObject<span class="br0">(</span><span class="st0">"treeBox"</span><span class="sy0">,</span><span class="st0">"100%"</span><span class="sy0">,</span><span class="st0">"100%"</span><span class="sy0">,</span>0<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
Parameters passed to the constructor are the following:
</p>
<ul>
<li class="level1"><div class="li"> Object to attach the tree to (should be loaded before the constructor is called);</div>
</li>
<li class="level1"><div class="li"> Width of the tree;</div>
</li>
<li class="level1"><div class="li"> Height of the tree;</div>
</li>
<li class="level1"><div class="li"> Identifier of the tree root level (super root).</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="1751-2544" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:initialization_of_dhtmlxtree" /><input type="submit" value="Edit" class="button" title="Object-Based Initialization" /></div></form></div>
<h3><a name="initialization_from_html" id="initialization_from_html">Initialization from HTML</a></h3>
<div class="level3">
<p>
This type of initialization includes two sub-types:
</p>
<ul>
<li class="level1"><div class="li"> Initialization from an <acronym title="HyperText Markup Language">HTML</acronym> list;</div>
</li>
<li class="level1"><div class="li"> Initialization from inline <acronym title="Extensible Markup Language">XML</acronym>.</div>
</li>
</ul>
<p>
The user can create the tree based on an <acronym title="HyperText Markup Language">HTML</acronym> list or inline <acronym title="Extensible Markup Language">XML</acronym>. In both casesб the list or <acronym title="Extensible Markup Language">XML</acronym> should be placed into the DIV element that will be act as a container for the tree. <acronym title="Extensible Markup Language">XML</acronym> should also be included into XMP tag.
It should be noted that any of tree methods starting with set or enable can be used as attributes of this DIV element to set/enable different tree properties.
</p>
</div>
<h4><a name="conversion" id="conversion">Conversion</a></h4>
<div class="level4">
<p>
The following two types of conversion (of <acronym title="HyperText Markup Language">HTML</acronym> data into the tree) are available:
</p>
<ul>
<li class="level1"><div class="li"> Automatic conversion - presupposes setting dhtmlxTree class for the top div element;</div>
</li>
<li class="level1"><div class="li"> Script conversion - calling dhtmlXTreeFromHTML() command with id of the div element to convert as the first argument.</div>
</li>
</ul>
</div>
<h4><a name="initialization_from_an_html_list" id="initialization_from_an_html_list">Initialization from an HTML list</a></h4>
<div class="level4">
<p>
This type of initialization presupposes the following actions from user's side:
</p>
<ul>
<li class="level1"><div class="li"> Add dhtmlxtree_start.js file into the page;</div>
</li>
<li class="level1"><div class="li"> Choose type of conversion to use;</div>
</li>
<li class="level1"><div class="li"> Set some attributes defining tree-specific properties of the top div element:</div>
<ul>
<li class="level2"><div class="li"> setImagePath - sets path to tree's image files;</div>
</li>
<li class="level2"><div class="li"> id - name of a <acronym title="JavaScript">JS</acronym> variable referenced to the tree object;</div>
</li>
</ul>
</li>
<li class="level1"><div class="li"> Use simple <acronym title="HyperText Markup Language">HTML</acronym> list tags.</div>
</li>
</ul>
<pre class="code javascript"> <span class="sy0"><</span>head<span class="sy0">></span>
...
<span class="sy0"><</span>script src<span class="sy0">=</span><span class="st0">"[full path to this file]/dhtmlxtree_start.js"</span><span class="sy0">></</span>script<span class="sy0">></span>
<span class="sy0"></</span>head<span class="sy0">></span>
<span class="sy0"><</span>div <span class="kw2">class</span><span class="sy0">=</span><span class="st0">"dhtmlxTree"</span> <span class="co1">// for automatic conversion</span>
id<span class="sy0">=</span><span class="st0">"treeboxbox_tree"</span>
setImagePath<span class="sy0">=</span><span class="st0">"[full path to this category]/imgs/"</span>
style<span class="sy0">=</span><span class="st0">"width:250px; height:218px;overflow:auto;"</span><span class="sy0">></span>
<span class="sy0"><</span>ul<span class="sy0">></span>
<span class="sy0"><</span>li<span class="sy0">></span>Root
<span class="sy0"><</span>ul<span class="sy0">></span>
<span class="sy0"><</span>li<span class="sy0">></span>Child1
<span class="sy0"><</span>ul<span class="sy0">></span>
<span class="sy0"><</span>li<span class="sy0">></span>Child <span class="nu0">1</span><span class="sy0">-</span><span class="nu0">1</span><span class="sy0"></</span>li<span class="sy0">></span>
<span class="sy0"></</span>ul<span class="sy0">></span>
<span class="sy0"><</span>li<span class="sy0">></span>Child2<span class="sy0"></</span>li<span class="sy0">></span>
<span class="sy0"><</span>li<span class="sy0">><</span>b<span class="sy0">></span>Bold<span class="sy0"></</span>b<span class="sy0">></span> <span class="sy0"><</span>i<span class="sy0">></span>Italic<span class="sy0"></</span>i<span class="sy0">></</span>li<span class="sy0">></span>
<span class="sy0"></</span>ul<span class="sy0">></span>
<span class="sy0"></</span>li<span class="sy0">></span>
<span class="sy0"></</span>ul<span class="sy0">></span>
<span class="sy0"></</span>div<span class="sy0">></span>
<span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> myTree <span class="sy0">=</span> dhtmlXTreeFromHTML<span class="br0">(</span><span class="st0">"treeboxbox_tree"</span><span class="br0">)</span>; <span class="co1">// for script conversion</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="initialization_from_inline_xml" id="initialization_from_inline_xml">Initialization from Inline XML</a></h4>
<div class="level4">
<p>
Initialization of this kind allows the user to apply standard dhtmlxTree's <acronym title="Extensible Markup Language">XML</acronym> structure enclosed into XMP tag inside the div element (the tree container).
The sequence of actions is as follows:
</p>
<ul>
<li class="level1"><div class="li"> Add dhtmlxtree_start.js file into the page;</div>
</li>
<li class="level1"><div class="li"> Choose type of conversion to use;</div>
</li>
<li class="level1"><div class="li"> Set some attributes defining tree-specific properties of the top div element:</div>
<ul>
<li class="level2"><div class="li"> setImagePath - sets path to tree's image files;</div>
</li>
<li class="level2"><div class="li"> id - name of <acronym title="JavaScript">JS</acronym> variable referenced to еру tree object;</div>
</li>
</ul>
</li>
<li class="level1"><div class="li"> Apply <acronym title="Extensible Markup Language">XML</acronym> structure in <xmp> tag.</div>
</li>
</ul>
<pre class="code javascript"> <span class="sy0"><</span>div id<span class="sy0">=</span><span class="st0">"treeboxbox_tree"</span>
setImagePath<span class="sy0">=</span><span class="st0">"[full path to this category]/imgs/"</span>
<span class="kw2">class</span><span class="sy0">=</span><span class="st0">"dhtmlxTree"</span><span class="sy0">></span> <span class="co1">// for automatic conversion </span>
<span class="sy0"><</span>xmp<span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Root"</span> <span class="kw3">open</span><span class="sy0">=</span><span class="st0">"1"</span> id<span class="sy0">=</span><span class="st0">"11"</span><span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Child1"</span> select<span class="sy0">=</span><span class="st0">"1"</span> <span class="kw3">open</span><span class="sy0">=</span><span class="st0">"1"</span> id<span class="sy0">=</span><span class="st0">"12"</span><span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Child1-1"</span> id<span class="sy0">=</span><span class="st0">"13"</span><span class="sy0">/></span>
<span class="sy0"></</span>item<span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Child2"</span> id<span class="sy0">=</span><span class="st0">"14"</span><span class="sy0">/></span>
<span class="sy0"><</span>item id<span class="sy0">=</span><span class="st0">"15"</span> text<span class="sy0">=</span><span class="st0">"Text"</span><span class="sy0">/></span>
<span class="sy0"></</span>item<span class="sy0">></span>
<span class="sy0"></</span>xmp<span class="sy0">></span>
<span class="sy0"></</span>div<span class="sy0">></span>
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="2545-5693" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:initialization_of_dhtmlxtree" /><input type="submit" value="Edit" class="button" title="Initialization from HTML" /></div></form></div>
<h3><a name="data_loading" id="data_loading">Data Loading</a></h3>
<div class="level3">
<p>
The next step of initialization of dhtmlxTree component is Data Loading. The user can choose one of the following data loading possibilities:
</p>
<ul>
<li class="level1"><div class="li"> <acronym title="Extensible Markup Language">XML</acronym>;</div>
</li>
<li class="level1"><div class="li"> JSON;</div>
</li>
<li class="level1"><div class="li"> CSV;</div>
</li>
<li class="level1"><div class="li"> <acronym title="JavaScript">JS</acronym> array.</div>
</li>
</ul>
</div>
<h4><a name="data_loading_from_xml" id="data_loading_from_xml">Data Loading from XML</a></h4>
<div class="level4">
<p>
loadXML() and loadXMLString() methods load menu data from <acronym title="Extensible Markup Language">XML</acronym>:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">loadXML</span><span class="br0">(</span>file<span class="sy0">,</span> <span class="kw2">function</span><span class="br0">)</span>; <span class="co1">// loading from a file</span>
tree.<span class="me1">loadXMLString</span><span class="br0">(</span>xmlString<span class="sy0">,</span> <span class="kw2">function</span><span class="br0">)</span>; <span class="co1">// loading from an XML string</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
These methods have the following parameters:
</p>
<ul>
<li class="level1"><div class="li"> file/xmlString- full path to the <acronym title="Extensible Markup Language">XML</acronym> file/string containing tree data;</div>
</li>
<li class="level1"><div class="li"> function (optional parameter) - function that will be called when data is loaded (if specified).</div>
</li>
</ul>
<p>
It should be noted that when using loadXML() without parameters, the system will load the <acronym title="Uniform Resource Locator">URL</acronym> specified in setXMLAutoLoading() method.
</p>
<p>
getXMLState() method should be used to get the current state of <acronym title="Extensible Markup Language">XML</acronym> loading:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> xmlSate <span class="sy0">=</span> tree.<span class="me1">getXMLState</span><span class="br0">(</span><span class="br0">)</span>; <span class="co1">// returns true if XML is being loaded at the moment</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
See <a href="dhtmlxtree___syntax_templates.html" class="wikilink1" title="dhtmlxtree:syntax_templates">here</a> for <acronym title="Extensible Markup Language">XML</acronym> Syntax Template.
</p>
</div>
<h4><a name="data_loading_from_json" id="data_loading_from_json">Data Loading from JSON</a></h4>
<div class="level4">
<p>
To load the tree from JSON, the user needs to have a JSON object or a file and load it using the following methods:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">loadJSONObject</span><span class="br0">(</span>json_object<span class="sy0">,</span> <span class="kw2">function</span><span class="br0">)</span>; <span class="co1">// loading from a script object</span>
tree.<span class="me1">loadJSON</span><span class="br0">(</span>file<span class="sy0">,</span> <span class="kw2">function</span><span class="br0">)</span>; <span class="co1">// loading from a file</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
Both methods have the following parameters:
</p>
<ul>
<li class="level1"><div class="li"> json_object/file - object or file containing tree data;</div>
</li>
<li class="level1"><div class="li"> function (optional parameter) - function that will be called when data is loaded (if specified).</div>
</li>
</ul>
<p>
See <a href="dhtmlxtree___syntax_templates.html" class="wikilink1" title="dhtmlxtree:syntax_templates">here</a> for JSON Format Template.
</p>
</div>
<h4><a name="data_loading_from_csv" id="data_loading_from_csv">Data Loading from CSV</a></h4>
<div class="level4">
<p>
This type of loading tree data presupposes that the user should have CSV represented as a string or a file. There are two methods that can be used in this case:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">loadCSV</span><span class="br0">(</span>file<span class="sy0">,</span> <span class="kw2">function</span><span class="br0">)</span>; <span class="co1">// loading from a file</span>
tree.<span class="me1">loadCSVString</span><span class="br0">(</span>csvstring<span class="sy0">,</span> <span class="kw2">function</span><span class="br0">)</span>; <span class="co1">// loading from a string</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
Both methods have the following parameters:
</p>
<ul>
<li class="level1"><div class="li"> file/csvstring - file or string containing tree data;</div>
</li>
<li class="level1"><div class="li"> function (optional parameter) - function that will be called when data is loaded (if specified).</div>
</li>
</ul>
<p>
See <a href="dhtmlxtree___syntax_templates.html" class="wikilink1" title="dhtmlxtree:syntax_templates">here</a> for CSV Format Template.
</p>
</div>
<h4><a name="data_loading_from_js_array" id="data_loading_from_js_array">Data Loading from JS Array</a></h4>
<div class="level4">
<p>
The tree can be loaded from a <acronym title="JavaScript">JS</acronym> Array. The array as an object or as a file should be specified in the following methods:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">loadJSArrayFile</span><span class="br0">(</span>file<span class="sy0">,</span> <span class="kw2">function</span><span class="br0">)</span>; <span class="co1">// loading from a file</span>
tree.<span class="me1">loadJSArray</span><span class="br0">(</span>array<span class="sy0">,</span> <span class="kw2">function</span><span class="br0">)</span>; <span class="co1">// loading from an array object</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
Both methods have the following parameters:
</p>
<ul>
<li class="level1"><div class="li"> file/array - file or array object containing tree data;</div>
</li>
<li class="level1"><div class="li"> function (optional parameter) - function that will be called when data is loaded (if specified).</div>
</li>
</ul>
<p>
See <a href="dhtmlxtree___syntax_templates.html" class="wikilink1" title="dhtmlxtree:syntax_templates">here</a> for <acronym title="JavaScript">JS</acronym> Array Format Template.
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="5694-8867" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:initialization_of_dhtmlxtree" /><input type="submit" value="Edit" class="button" title="Data Loading" /></div></form></div>
<h3><a name="data_transfer_mode" id="data_transfer_mode">Data Transfer Mode</a></h3>
<div class="level3">
<p>
The user can set default data transfer mode in the following way:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">setDataMode</span><span class="br0">(</span>mode<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The following mode variants are available:
</p>
<ul>
<li class="level1"><div class="li"> JSON - sets JSON data transfer mode;</div>
</li>
<li class="level1"><div class="li"> <acronym title="Extensible Markup Language">XML</acronym> - sets <acronym title="Extensible Markup Language">XML</acronym> data transfer mode;</div>
</li>
<li class="level1"><div class="li"> CSV - sets CSV data transfer mode.</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="8868-" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:initialization_of_dhtmlxtree" /><input type="submit" value="Edit" class="button" title="Data Transfer Mode" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/initialization_of_dhtmlxtree.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:initialization_of_dhtmlxtree" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:initialization_of_dhtmlxtree" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:initialization_of_dhtmlxtree" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Ainitialization_of_dhtmlxtree&1279804935" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:initialization_of_dhtmlxtree" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___initialization_of_dhtmlxtree.html | HTML | art | 33,174 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarrayfile [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarrayfile</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarrayfile" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarrayfile" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarrayfile" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarrayfile" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarrayfile">api_method_dhtmlxtreeobject_loadjsarrayfile</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="loadjsarrayfile_file_aftercall" id="loadjsarrayfile_file_aftercall">loadJSArrayFile(file,afterCall)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_json.js</em>
</p>
<p>
load tree from js array file|stream
</p>
<ul>
<li class="level1"><div class="li"> file - link to JSArray file</div>
</li>
<li class="level1"><div class="li"> afterCall - function which will be called after xml loading</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarrayfile" /><input type="submit" value="Edit" class="button" title="loadJSArrayFile(file,afterCall)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_loadjsarrayfile.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarrayfile" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarrayfile" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarrayfile" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_loadjsarrayfile&1279804927" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarrayfile" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_loadjsarrayfile.html | HTML | art | 8,377 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_getindexbyid [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_getindexbyid</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getindexbyid" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getindexbyid" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getindexbyid" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_getindexbyid" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_getindexbyid">api_method_dhtmlxtreeobject_getindexbyid</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="getindexbyid_itemid" id="getindexbyid_itemid">getIndexById(itemId)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
retun node index in children collection by Id
</p>
<ul>
<li class="level1"><div class="li"> itemId - node id</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getindexbyid" /><input type="submit" value="Edit" class="button" title="getIndexById(itemId)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_getindexbyid.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getindexbyid" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getindexbyid" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getindexbyid" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_getindexbyid&1279804923" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getindexbyid" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_getindexbyid.html | HTML | art | 8,174 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_dopaste [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_dopaste</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_dopaste" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_dopaste" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_dopaste" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_dopaste" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_dopaste">api_method_dhtmlxtreeobject_dopaste</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="dopaste_itemid" id="dopaste_itemid">doPaste(itemId)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
insert previously cut branch
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of new parent node</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_dopaste" /><input type="submit" value="Edit" class="button" title="doPaste(itemId)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_dopaste.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_dopaste" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_dopaste" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_dopaste" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_dopaste&1279804921" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_dopaste" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_dopaste.html | HTML | art | 8,076 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_setformdisappearon [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_setformdisappearon</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setformdisappearon" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setformdisappearon" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setformdisappearon" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_setformdisappearon" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_setformdisappearon">api_method_dhtmlxtreeobject_setformdisappearon</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="setformdisappearon_onclick_ondblclick_onmouseover" id="setformdisappearon_onclick_ondblclick_onmouseover">setFormDisappearOn(onClick,onDblClick,onMouseOver)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_if.js</em>
</p>
<p>
define events for form disappearing
</p>
<ul>
<li class="level1"><div class="li"> onClick - form disappears on click event</div>
</li>
<li class="level1"><div class="li"> onDblClick - form disappears on double click event</div>
</li>
<li class="level1"><div class="li"> onMouseOver - form disappears on mouseover event</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setformdisappearon" /><input type="submit" value="Edit" class="button" title="setFormDisappearOn(onClick,onDblClick,onMouseOver)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_setformdisappearon.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setformdisappearon" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setformdisappearon" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setformdisappearon" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_setformdisappearon&1279804926" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setformdisappearon" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_setformdisappearon.html | HTML | art | 8,619 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_enableactiveimages [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_enableactiveimages</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableactiveimages" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableactiveimages" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableactiveimages" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_enableactiveimages" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableactiveimages">api_method_dhtmlxtreeobject_enableactiveimages</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="enableactiveimages_mode" id="enableactiveimages_mode">enableActiveImages(mode)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
enable active images (clickable and dragable). By default only text part of the node is active
</p>
<ul>
<li class="level1"><div class="li"> mode - 1 - on, 0 - off;</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableactiveimages" /><input type="submit" value="Edit" class="button" title="enableActiveImages(mode)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_enableactiveimages.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableactiveimages" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableactiveimages" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableactiveimages" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_enableactiveimages&1279804929" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableactiveimages" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_enableactiveimages.html | HTML | art | 8,336 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_enableradiobuttons [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_enableradiobuttons</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableradiobuttons" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableradiobuttons" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableradiobuttons" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_enableradiobuttons" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableradiobuttons">api_method_dhtmlxtreeobject_enableradiobuttons</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="enableradiobuttons_itemid_mode" id="enableradiobuttons_itemid_mode">enableRadioButtons(itemId,mode)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
replace checkboxes with radio buttons
</p>
<ul>
<li class="level1"><div class="li"> mode - true/false</div>
</li>
<li class="level1"><div class="li"> itemId - node for which replacement called (optional)</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableradiobuttons" /><input type="submit" value="Edit" class="button" title="enableRadioButtons(itemId,mode)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_enableradiobuttons.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableradiobuttons" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableradiobuttons" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableradiobuttons" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_enableradiobuttons&1279804930" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableradiobuttons" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_enableradiobuttons.html | HTML | art | 8,425 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_insertnewchild [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_insertnewchild</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewchild" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewchild" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewchild" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_insertnewchild" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewchild">api_method_dhtmlxtreeobject_insertnewchild</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="insertnewchild_parentid_itemid_itemtext_itemactionhandler_image1_image2_image3_optionstr_children" id="insertnewchild_parentid_itemid_itemtext_itemactionhandler_image1_image2_image3_optionstr_children">insertNewChild(parentId,itemId,itemText,itemActionHandler,image1,image2,image3,optionStr,children)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
create new node as a child to specified with parentId
</p>
<ul>
<li class="level1"><div class="li"> parentId - parent node id</div>
</li>
<li class="level1"><div class="li"> itemId - new node id</div>
</li>
<li class="level1"><div class="li"> itemText - new node label</div>
</li>
<li class="level1"><div class="li"> itemActionHandler - function fired on node select event (optional)</div>
</li>
<li class="level1"><div class="li"> image1 - image for node without children; (optional)</div>
</li>
<li class="level1"><div class="li"> image2 - image for closed node; (optional)</div>
</li>
<li class="level1"><div class="li"> image3 - image for opened node (optional)</div>
</li>
<li class="level1"><div class="li"> optionStr - options string (optional)</div>
</li>
<li class="level1"><div class="li"> children - node children flag (for dynamical trees) (optional)</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewchild" /><input type="submit" value="Edit" class="button" title="insertNewChild(parentId,itemId,itemText,itemActionHandler,image1,image2,image3,optionStr,children)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_insertnewchild.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewchild" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewchild" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewchild" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_insertnewchild&1279804921" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewchild" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_insertnewchild.html | HTML | art | 9,270 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_showitemsign [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_showitemsign</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_showitemsign" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_showitemsign" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_showitemsign" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_showitemsign" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_showitemsign">api_method_dhtmlxtreeobject_showitemsign</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="showitemsign_itemid_state" id="showitemsign_itemid_state">showItemSign(itemId,state)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
show/hide (+/-) icon (works only for individual items, not for entire tree )
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of selected item</div>
</li>
<li class="level1"><div class="li"> state - show state : 0/1</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_showitemsign" /><input type="submit" value="Edit" class="button" title="showItemSign(itemId,state)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_showitemsign.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_showitemsign" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_showitemsign" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_showitemsign" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_showitemsign&1279804931" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_showitemsign" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_showitemsign.html | HTML | art | 8,336 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_setitemimage2 [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_setitemimage2</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemimage2" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemimage2" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemimage2" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_setitemimage2" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemimage2">api_method_dhtmlxtreeobject_setitemimage2</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="setitemimage2_itemid_image1_image2_image3" id="setitemimage2_itemid_image1_image2_image3">setItemImage2(itemId, image1,image2,image3)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
set item images
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of node</div>
</li>
<li class="level1"><div class="li"> image1 - node without children icon</div>
</li>
<li class="level1"><div class="li"> image2 - open node icon</div>
</li>
<li class="level1"><div class="li"> image3 - closed node icon</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemimage2" /><input type="submit" value="Edit" class="button" title="setItemImage2(itemId, image1,image2,image3)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_setitemimage2.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemimage2" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemimage2" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemimage2" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_setitemimage2&1279804931" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemimage2" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_setitemimage2.html | HTML | art | 8,482 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_setimagepath [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_setimagepath</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setimagepath" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setimagepath" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setimagepath" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_setimagepath" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_setimagepath">api_method_dhtmlxtreeobject_setimagepath</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="setimagepath_newpath" id="setimagepath_newpath">setImagePath( newPath )</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
set path to images directory
</p>
<ul>
<li class="level1"><div class="li"> newPath - path to images directory (related to the page with tree or absolute http url)</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setimagepath" /><input type="submit" value="Edit" class="button" title="setImagePath( newPath )" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_setimagepath.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setimagepath" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setimagepath" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setimagepath" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_setimagepath&1279804929" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setimagepath" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_setimagepath.html | HTML | art | 8,236 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_getitemtext [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_getitemtext</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getitemtext" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getitemtext" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getitemtext" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_getitemtext" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_getitemtext">api_method_dhtmlxtreeobject_getitemtext</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="getitemtext_itemid" id="getitemtext_itemid">getItemText(itemId)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
return node text
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of node</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getitemtext" /><input type="submit" value="Edit" class="button" title="getItemText(itemId)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_getitemtext.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getitemtext" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getitemtext" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getitemtext" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_getitemtext&1279804923" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getitemtext" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_getitemtext.html | HTML | art | 8,129 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_getallunchecked [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_getallunchecked</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallunchecked" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallunchecked" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallunchecked" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_getallunchecked" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_getallunchecked">api_method_dhtmlxtreeobject_getallunchecked</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="getallunchecked_itemid" id="getallunchecked_itemid">getAllUnchecked(itemId)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
return list of identificators of nodes with unchecked checkboxes, separated by default delimiter
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallunchecked" /><input type="submit" value="Edit" class="button" title="getAllUnchecked(itemId)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_getallunchecked.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallunchecked" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallunchecked" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallunchecked" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_getallunchecked&1279804924" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallunchecked" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_getallunchecked.html | HTML | art | 8,203 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_openonitemadded [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_openonitemadded</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openonitemadded" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openonitemadded" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openonitemadded" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_openonitemadded" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_openonitemadded">api_method_dhtmlxtreeobject_openonitemadded</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="openonitemadded_mode" id="openonitemadded_mode">openOnItemAdded(mode)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
configure if parent node will be expanded immideatly after child item added
</p>
<ul>
<li class="level1"><div class="li"> mode - true/false</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openonitemadded" /><input type="submit" value="Edit" class="button" title="openOnItemAdded(mode)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_openonitemadded.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openonitemadded" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openonitemadded" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openonitemadded" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_openonitemadded&1279804920" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openonitemadded" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_openonitemadded.html | HTML | art | 8,276 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:event_onmouseout [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:event_onmouseout</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onmouseout" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_onmouseout" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:event_onmouseout" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:event_onmouseout" class="breadcrumbs" title="dhtmlxtree:event_onmouseout">event_onmouseout</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div></div>
</p>
<h2><a name="onmouseout_event" id="onmouseout_event">onMouseOut Event</a></h2>
<div class="level2">
<p>
This event calls user-defined handlers (if there are any) and passes the following parameter:
</p>
<ul>
<li class="level1"><div class="li"> id - id of the clicked node.</div>
</li>
</ul>
<pre class="code javascript"> tree.<span class="me1">attachEvent</span><span class="br0">(</span><span class="st0">"onMouseOut"</span><span class="sy0">,</span> <span class="kw2">function</span><span class="br0">(</span>id<span class="br0">)</span><span class="br0">{</span><span class="br0">}</span><span class="br0">)</span>;
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="54-" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:event_onmouseout" /><input type="submit" value="Edit" class="button" title="onMouseOut Event" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/event_onmouseout.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onmouseout" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_onmouseout" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:event_onmouseout" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aevent_onmouseout&1279804933" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onmouseout" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___event_onmouseout.html | HTML | art | 7,815 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_setlistdelimeter [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_setlistdelimeter</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setlistdelimeter" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setlistdelimeter" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setlistdelimeter" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_setlistdelimeter" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_setlistdelimeter">api_method_dhtmlxtreeobject_setlistdelimeter</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="setlistdelimeter_separator" id="setlistdelimeter_separator">setListDelimeter(separator)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
set list separator (”,” by default)
</p>
<ul>
<li class="level1"><div class="li"> separator - char or string to use for separating items in lists</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setlistdelimeter" /><input type="submit" value="Edit" class="button" title="setListDelimeter(separator)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_setlistdelimeter.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setlistdelimeter" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setlistdelimeter" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setlistdelimeter" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_setlistdelimeter&1279804928" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setlistdelimeter" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_setlistdelimeter.html | HTML | art | 8,325 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_enablecontextmenu [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_enablecontextmenu</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablecontextmenu" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablecontextmenu" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablecontextmenu" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_enablecontextmenu" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablecontextmenu">api_method_dhtmlxtreeobject_enablecontextmenu</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="enablecontextmenu_menu" id="enablecontextmenu_menu">enableContextMenu(menu)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
enable context menu
</p>
<ul>
<li class="level1"><div class="li"> menu - dhtmlXMenu object</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablecontextmenu" /><input type="submit" value="Edit" class="button" title="enableContextMenu(menu)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_enablecontextmenu.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablecontextmenu" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablecontextmenu" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablecontextmenu" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_enablecontextmenu&1279804929" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablecontextmenu" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_enablecontextmenu.html | HTML | art | 8,265 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_finditemidbylabel [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_finditemidbylabel</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_finditemidbylabel" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_finditemidbylabel" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_finditemidbylabel" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_finditemidbylabel" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_finditemidbylabel">api_method_dhtmlxtreeobject_finditemidbylabel</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="finditemidbylabel_searchstr_direction_top" id="finditemidbylabel_searchstr_direction_top">findItemIdByLabel(searchStr,direction,top)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
find tree item by text
</p>
<ul>
<li class="level1"><div class="li"> searchStr - search text</div>
</li>
<li class="level1"><div class="li"> direction - 0: top → bottom; 1: bottom → top</div>
</li>
<li class="level1"><div class="li"> top - 1: start searching from top</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_finditemidbylabel" /><input type="submit" value="Edit" class="button" title="findItemIdByLabel(searchStr,direction,top)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_finditemidbylabel.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_finditemidbylabel" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_finditemidbylabel" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_finditemidbylabel" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_finditemidbylabel&1279804920" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_finditemidbylabel" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_finditemidbylabel.html | HTML | art | 8,522 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_closeitem [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_closeitem</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_closeitem" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_closeitem" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_closeitem" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_closeitem" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_closeitem">api_method_dhtmlxtreeobject_closeitem</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="closeitem_itemid" id="closeitem_itemid">closeItem(itemId)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
collapse node
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of node</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_closeitem" /><input type="submit" value="Edit" class="button" title="closeItem(itemId)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_closeitem.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_closeitem" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_closeitem" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_closeitem" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_closeitem&1279804922" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_closeitem" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_closeitem.html | HTML | art | 8,088 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_deleteitem [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_deleteitem</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_deleteitem" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_deleteitem" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_deleteitem" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_deleteitem" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_deleteitem">api_method_dhtmlxtreeobject_deleteitem</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="deleteitem_itemid_selectparent" id="deleteitem_itemid_selectparent">deleteItem(itemId,selectParent)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
delete node
</p>
<ul>
<li class="level1"><div class="li"> itemId - node id</div>
</li>
<li class="level1"><div class="li"> selectParent - If true parent of deleted item get selection, else no selected items leaving in tree.</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_deleteitem" /><input type="submit" value="Edit" class="button" title="deleteItem(itemId,selectParent)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_deleteitem.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_deleteitem" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_deleteitem" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_deleteitem" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_deleteitem&1279804922" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_deleteitem" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_deleteitem.html | HTML | art | 8,303 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_serializetreetojson [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_serializetreetojson</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_serializetreetojson" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_serializetreetojson" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_serializetreetojson" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_serializetreetojson" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_serializetreetojson">api_method_dhtmlxtreeobject_serializetreetojson</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="serializetreetojson" id="serializetreetojson">serializeTreeToJSON()</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_json.js</em>
</p>
<p>
return tree as json string
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_serializetreetojson" /><input type="submit" value="Edit" class="button" title="serializeTreeToJSON()" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_serializetreetojson.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_serializetreetojson" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_serializetreetojson" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_serializetreetojson" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_serializetreetojson&1279804925" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_serializetreetojson" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_serializetreetojson.html | HTML | art | 8,188 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:event_oncheck [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:event_oncheck</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_oncheck" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_oncheck" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:event_oncheck" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:event_oncheck" class="breadcrumbs" title="dhtmlxtree:event_oncheck">event_oncheck</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div></div>
</p>
<h2><a name="oncheck_event" id="oncheck_event">onCheck Event</a></h2>
<div class="level2">
<p>
This event calls user-defined handlers (if there are any) and passes the following parameters:
</p>
<ul>
<li class="level1"><div class="li"> id - id of the item that was checked|unchecked; </div>
</li>
<li class="level1"><div class="li"> state - current state of the checkbox (1 - item is checked, 0 - item is unchecked);</div>
</li>
</ul>
<pre class="code javascript"> tree.<span class="me1">attachEvent</span><span class="br0">(</span><span class="st0">"onCheck"</span><span class="sy0">,</span> <span class="kw2">function</span><span class="br0">(</span>id<span class="sy0">,</span>state<span class="br0">)</span><span class="br0">{</span><span class="br0">}</span><span class="br0">)</span>;
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="55-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:event_oncheck" /><input type="submit" value="Edit" class="button" title="onCheck Event" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/event_oncheck.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_oncheck" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_oncheck" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:event_oncheck" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aevent_oncheck&1279804933" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_oncheck" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___event_oncheck.html | HTML | art | 7,941 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_focusitem [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_focusitem</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_focusitem" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_focusitem" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_focusitem" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_focusitem" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_focusitem">api_method_dhtmlxtreeobject_focusitem</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="focusitem_itemid" id="focusitem_itemid">focusItem(itemId)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
focus item in tree (scroll to it if necessary)
</p>
<ul>
<li class="level1"><div class="li"> itemId - item Id</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_focusitem" /><input type="submit" value="Edit" class="button" title="focusItem(itemId)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_focusitem.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_focusitem" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_focusitem" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_focusitem" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_focusitem&1279804919" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_focusitem" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_focusitem.html | HTML | art | 8,118 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_setlockedicons [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_setlockedicons</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setlockedicons" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setlockedicons" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setlockedicons" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_setlockedicons" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_setlockedicons">api_method_dhtmlxtreeobject_setlockedicons</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="setlockedicons_im0_im1_im2" id="setlockedicons_im0_im1_im2">setLockedIcons(im0,im1,im2)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_li.js</em>
</p>
<p>
set icon for locked items
</p>
<ul>
<li class="level1"><div class="li"> im0 - icon for locked leaf</div>
</li>
<li class="level1"><div class="li"> im1 - icon for closed branch</div>
</li>
<li class="level1"><div class="li"> im2 - icon for opened branch</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setlockedicons" /><input type="submit" value="Edit" class="button" title="setLockedIcons(im0,im1,im2)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_setlockedicons.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setlockedicons" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setlockedicons" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setlockedicons" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_setlockedicons&1279804931" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setlockedicons" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_setlockedicons.html | HTML | art | 8,401 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:searching_and_sorting_in_tree [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:searching_and_sorting_in_tree</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:searching_and_sorting_in_tree" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:searching_and_sorting_in_tree" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:searching_and_sorting_in_tree" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:searching_and_sorting_in_tree" class="breadcrumbs" title="dhtmlxtree:searching_and_sorting_in_tree">searching_and_sorting_in_tree</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<!-- TOC START -->
<div class="toc">
<div class="tocheader toctoggle" id="toc__header">Table of Contents</div>
<div id="toc__inside">
<ul class="toc">
<li class="clear">
<ul class="toc">
<li class="level2"><div class="li"><span class="li"><a href="#searching_and_sorting_in_tree" class="toc">Searching and Sorting in Tree</a></span></div>
<ul class="toc">
<li class="level3"><div class="li"><span class="li"><a href="#searching_in_tree" class="toc">Searching in Tree</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#sorting_in_tree" class="toc">Sorting in Tree</a></span></div></li></ul>
</li></ul>
</li></ul>
</div>
</div>
<!-- TOC END -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href="index.html" class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div></div>
</p>
<h2><a name="searching_and_sorting_in_tree" id="searching_and_sorting_in_tree">Searching and Sorting in Tree</a></h2>
<div class="level2">
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="53-98" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:searching_and_sorting_in_tree" /><input type="submit" value="Edit" class="button" title="Searching and Sorting in Tree" /></div></form></div>
<h3><a name="searching_in_tree" id="searching_in_tree">Searching in Tree</a></h3>
<div class="level3">
</div>
<h4><a name="enabling_auto_search" id="enabling_auto_search">Enabling Auto Search</a></h4>
<div class="level4">
<p>
First, the meaning of auto search should be explained. When auto selected is switched on, the user can just select any item in the tree and start typing. The tree item, which name
is the closes to the typed one, will be selected. Restarting search is done by using the backspace button.
Auto search can be enabled only after enabling keyboard navigation:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">enableKeyboardNavigation</span><span class="br0">(</span><span class="kw2">true</span><span class="br0">)</span>;
tree.<span class="me1">enableKeySearch</span><span class="br0">(</span><span class="kw2">true</span><span class="br0">)</span>; <span class="co1">// false to disable</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
This method should be called before any of the data loading methods.
</p>
</div>
<h4><a name="searching_tree" id="searching_tree">Searching Tree</a></h4>
<div class="level4">
<p>
The tree can be searched from script with the help of methods findItem() and findItemIdByLabel(). The methods differ in one thing: whether the searched item will be selected and focused when found or not:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">findItem</span><span class="br0">(</span>searchStr<span class="sy0">,</span> direction<span class="sy0">,</span> top<span class="br0">)</span>; <span class="co1">// the item will be selected and focused when found</span>
<span class="co1">// or</span>
tree.<span class="me1">findItemIdByLabel</span><span class="br0">(</span>searchStr<span class="sy0">,</span> direction<span class="sy0">,</span> top<span class="br0">)</span>; <span class="co1">// the item will not be selected and focused when found</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters of both these methods are:
</p>
<ul>
<li class="level1"><div class="li"> searchStr - the search query;</div>
</li>
<li class="level1"><div class="li"> direction(false|true) - direction of the search, from the top to the bottom (false), and vice versa (true);</div>
</li>
<li class="level1"><div class="li"> top(true|false) - start searching from the top (true) or start searching from the currently selected item (false).</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="99-1578" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:searching_and_sorting_in_tree" /><input type="submit" value="Edit" class="button" title="Searching in Tree" /></div></form></div>
<h3><a name="sorting_in_tree" id="sorting_in_tree">Sorting in Tree</a></h3>
<div class="level3">
</div>
<h4><a name="sorting_tree" id="sorting_tree">Sorting Tree</a></h4>
<div class="level4">
<p>
dhtmlxTree allows its users to sort the tree in ASC or DES orders:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">sortTree</span><span class="br0">(</span>itemId<span class="sy0">,</span> oder<span class="sy0">,</span> all_levels<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The user should indicate the following parameters:
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of the node sorting starts from;</div>
</li>
<li class="level1"><div class="li"> oder(ASC|DES) - sorting order;</div>
</li>
<li class="level1"><div class="li"> all_levels(true|false) - sorting the tree by all levels (true), or by current level.</div>
</li>
</ul>
</div>
<h4><a name="custom_defined_sorting" id="custom_defined_sorting">Custom Defined Sorting</a></h4>
<div class="level4">
<p>
The user can set custom sort function. The function should have two parameters - id_of_item1,id_of_item2. For example:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="co1">//define the comparator (in our case it compares the second words in labels)</span>
<span class="kw2">function</span> mySortFunc<span class="br0">(</span>idA<span class="sy0">,</span>idB<span class="br0">)</span><span class="br0">{</span>
a<span class="sy0">=</span><span class="br0">(</span>tree.<span class="me1">getItemText</span><span class="br0">(</span>idA<span class="br0">)</span><span class="br0">)</span>.<span class="me1">split</span><span class="br0">(</span><span class="st0">" "</span><span class="br0">)</span><span class="br0">[</span><span class="nu0">1</span><span class="br0">]</span>||<span class="st0">""</span>;
b<span class="sy0">=</span><span class="br0">(</span>tree.<span class="me1">getItemText</span><span class="br0">(</span>idB<span class="br0">)</span><span class="br0">)</span>.<span class="me1">split</span><span class="br0">(</span><span class="st0">" "</span><span class="br0">)</span><span class="br0">[</span><span class="nu0">1</span><span class="br0">]</span>||<span class="st0">""</span>;
<span class="kw1">return</span> <span class="br0">(</span><span class="br0">(</span>a<span class="sy0">&</span>amp;gt;b<span class="br0">)</span><span class="sy0">?</span><span class="nu0">1</span><span class="sy0">:-</span><span class="nu0">1</span><span class="br0">)</span>;
<span class="br0">}</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
Then setCustomSortFunction() method should be called taking the name of the function as the incoming parameter:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="co1">//attach the comparator to the tree</span>
tree.<span class="me1">setCustomSortFunction</span><span class="br0">(</span>mySortFunc<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
It should be noted that if custom comparator is specified, sortTree() method will use it for sorting.
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="1579-" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:searching_and_sorting_in_tree" /><input type="submit" value="Edit" class="button" title="Sorting in Tree" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/searching_and_sorting_in_tree.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:searching_and_sorting_in_tree" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:searching_and_sorting_in_tree" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:searching_and_sorting_in_tree" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Asearching_and_sorting_in_tree&1279804934" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:searching_and_sorting_in_tree" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___searching_and_sorting_in_tree.html | HTML | art | 15,430 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarray [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarray</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarray" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarray" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarray" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarray" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarray">api_method_dhtmlxtreeobject_loadjsarray</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="loadjsarray_ar_aftercall" id="loadjsarray_ar_aftercall">loadJSArray(ar,afterCall)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_json.js</em>
</p>
<p>
load tree from js array object
</p>
<ul>
<li class="level1"><div class="li"> ar - js array</div>
</li>
<li class="level1"><div class="li"> afterCall - function which will be called after xml loading</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarray" /><input type="submit" value="Edit" class="button" title="loadJSArray(ar,afterCall)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_loadjsarray.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarray" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarray" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarray" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_loadjsarray&1279804927" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarray" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_loadjsarray.html | HTML | art | 8,274 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_toc_alpha [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_toc_alpha</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_alpha" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_alpha" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_alpha" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_toc_alpha" class="breadcrumbs" title="dhtmlxtree:api_toc_alpha">api_toc_alpha</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href="index.html" class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div></div>
</p>
<h2><a name="dhtmlxtree_api_methods" id="dhtmlxtree_api_methods">dhtmlxTree API Methods</a></h2>
<div class="level2">
</div>
<h4><a name="dhtmlxtreeobject_object" id="dhtmlxtreeobject_object">dhtmlXTreeObject Object</a></h4>
<div class="level4">
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_assignkeys.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_assignkeys">assignKeys</a> configures keys used for keyboard navigation
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_attachevent.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_attachevent">attachEvent</a> adds any user-defined handler to available events
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_changeitemid.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_changeitemid">changeItemId</a> changes item id
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_clearcut.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_clearcut">clearCut</a> clears cut
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_clearselection.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_clearselection">clearSelection</a> unselects item in tree
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_closeallitems.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_closeallitems">closeAllItems</a> collapses target node and all sub nodes
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_closeitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_closeitem">closeItem</a> collapses node
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_defineitemform.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_defineitemform">defineItemForm</a> assigns custom form to tree
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_deletechilditems.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_deletechilditems">deleteChildItems</a> deletes all children of node
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_deleteitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_deleteitem">deleteItem</a> deletes node
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_destructor.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_destructor">destructor</a> deletes tree and clears memory
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_detachevent.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_detachevent">detachEvent</a> removes an event handler
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_disablecheckbox.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_disablecheckbox">disableCheckbox</a> disables checkbox
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_docut.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_docut">doCut</a> marks selected item as cut
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_dopaste.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_dopaste">doPaste</a> inserts previously cut branch
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_edititem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_edititem">editItem</a> opens editor for specified item
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableactiveimages.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableactiveimages">enableActiveImages</a> enables active images (clickable and dragable). By default only text part of the node is active
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableautosavingselected.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableautosavingselected">enableAutoSavingSelected</a> enables/disables autosaving selected node in cookie
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableautotooltips.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableautotooltips">enableAutoTooltips</a> enables auto tooltips (node text as tooltip)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablecheckboxes.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablecheckboxes">enableCheckBoxes</a> shows/hides checkboxes (all checkboxes in tree)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablecontextmenu.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablecontextmenu">enableContextMenu</a> enables context menu
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enabledistributedparsing.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabledistributedparsing">enableDistributedParsing</a> enables distributed parsing of big tree (items loaded portion by portion with some timeouts)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enabledraganddrop.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabledraganddrop">enableDragAndDrop</a> enables/disables drag-and-drop
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enabledraganddropscrolling.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabledraganddropscrolling">enableDragAndDropScrolling</a> enables/disables auto scrolling while drag-and-drop
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablehighlighting.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablehighlighting">enableHighlighting</a> enables item highlighting (item text highlited on mouseover)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableieimagefix.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableieimagefix">enableIEImageFix</a> replaces IMG tag with background images - solve problem with <acronym title="Internet Explorer">IE</acronym> image caching , not works for <acronym title="Internet Explorer 6">IE6</acronym> SP1
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableimagedrag.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableimagedrag">enableImageDrag</a> enables draging item image with item text
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableitemeditor.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableitemeditor">enableItemEditor</a> enables editing of item text
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablekeysearch.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablekeysearch">enableKeySearch</a> enables search items by pressing keys (any item in tree should be focused/selected to make search work)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablekeyboardnavigation.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablekeyboardnavigation">enableKeyboardNavigation</a> enables keyboard navigation in tree
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableloadingitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableloadingitem">enableLoadingItem</a> enables/disables “Loading…” item
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablemercydrag.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablemercydrag">enableMercyDrag</a> enables drag without removing (copy instead of move)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablemultilineitems.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultilineitems">enableMultiLineItems</a> enables multi line items
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablemultiselection.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultiselection">enableMultiselection</a> enables multiselection
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablertl.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablertl">enableRTL</a> enables Right-to-Left mode in tree
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableradiobuttons.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableradiobuttons">enableRadioButtons</a> replaces checkboxes with radio buttons
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablesingleradiomode.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablesingleradiomode">enableSingleRadioMode</a> replaces checkboxes with radio buttons
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablesmartcheckboxes.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablesmartcheckboxes">enableSmartCheckboxes</a> enables smart checkboxes ,true by default (auto checking children and parents for 3-state checkboxes)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablesmartrendering.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablesmartrendering">enableSmartRendering</a> enables smart rendering mode (usefull for big trees with lots f items on each level)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablesmartxmlparsing.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablesmartxmlparsing">enableSmartXMLParsing</a> enables/disables smart <acronym title="Extensible Markup Language">XML</acronym> parsing mode (usefull for big, well structured <acronym title="Extensible Markup Language">XML</acronym>)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enabletextsigns.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabletextsigns">enableTextSigns</a> replaces images with text signs
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablethreestatecheckboxes.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablethreestatecheckboxes">enableThreeStateCheckboxes</a> enables three state checkboxes
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enabletreeimages.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabletreeimages">enableTreeImages</a> enables tree images
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enabletreelines.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabletreelines">enableTreeLines</a> enables/disables tree lines (parent-child threads)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_finditem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_finditem">findItem</a> finds tree item by text, select and focus it
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_finditemidbylabel.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_finditemidbylabel">findItemIdByLabel</a> finds tree item by text
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_focusitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_focusitem">focusItem</a> focuses item in tree (scroll to it if necessary)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getallchecked.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getallchecked">getAllChecked</a> returns list of identificators of nodes with checked checkboxes, separated by default delimiter
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getallcheckedbranches.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getallcheckedbranches">getAllCheckedBranches</a> returns list of identificators of nodes with checked and third state checkboxes, separated by default delimiter
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getallchildless.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getallchildless">getAllChildless</a> returns the list of all items which doesn't have child nodes.
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getallitemswithkids.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getallitemswithkids">getAllItemsWithKids</a> returns the list of all items which have child nodes, separated by default delimiter.
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getallpartiallychecked.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getallpartiallychecked">getAllPartiallyChecked</a> returns list of identificators of nodes with third state checkboxes, separated by default delimiter
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getallsubitems.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getallsubitems">getAllSubItems</a> returns the list of all children from all next levels of tree, separated by default delimiter.
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getallunchecked.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getallunchecked">getAllUnchecked</a> returns list of identificators of nodes with unchecked checkboxes, separated by default delimiter
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getchilditemidbyindex.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getchilditemidbyindex">getChildItemIdByIndex</a> returns child node id by index
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getdistributedparsingstate.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getdistributedparsingstate">getDistributedParsingState</a> gets current state of distributed parsing
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getindexbyid.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getindexbyid">getIndexById</a> returns node index in children collection by Id
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getitemcolor.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getitemcolor">getItemColor</a> gets node color (text color)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getitemidbyindex.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getitemidbyindex">getItemIdByIndex</a> returns node id by index
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getitemimage.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getitemimage">getItemImage</a> gets url of item image
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getitemparsingstate.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getitemparsingstate">getItemParsingState</a> gets current parsing state of item
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getitemtext.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getitemtext">getItemText</a> returns node text
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getitemtooltip.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getitemtooltip">getItemTooltip</a> gets item's tooltip
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getlevel.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getlevel">getLevel</a> gets node level (position in hierarchy)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getopenstate.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getopenstate">getOpenState</a> returns open/close state
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getparentid.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getparentid">getParentId</a> returns parent item id
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getselecteditemid.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getselecteditemid">getSelectedItemId</a> returns selected item id
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getselecteditemtext.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getselecteditemtext">getSelectedItemText</a> returns selected node text
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getsubitems.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getsubitems">getSubItems</a> returns the list of all subitems Ids from the next level of tree, separated by commas.
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getuserdata.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getuserdata">getUserData</a> gets user data from target node
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getxmlstate.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getxmlstate">getXMLState</a> returns current state of <acronym title="Extensible Markup Language">XML</acronym> loading
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_haschildren.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_haschildren">hasChildren</a> returns number of children
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_hideitemform.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_hideitemform">hideItemForm</a> hides item's form
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_insertnewchild.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewchild">insertNewChild</a> creates new node as a child to specified with parentId
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_insertnewnext.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewnext">insertNewNext</a> creates new node next to specified
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_isitemchecked.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_isitemchecked">isItemChecked</a> gets state of nodes's checkbox
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_islocked.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_islocked">isLocked</a> gets locked state of item
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_loadcsv.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadcsv">loadCSV</a> loads tree from csv file|stream
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_loadcsvstring.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadcsvstring">loadCSVString</a> loads tree from csv string
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_loadjsarray.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarray">loadJSArray</a> loads tree from js array object
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_loadjsarrayfile.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarrayfile">loadJSArrayFile</a> loads tree from js array file|stream
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_loadjson.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadjson">loadJSON</a> loads tree from json file
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_loadjsonobject.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsonobject">loadJSONObject</a> loads tree from json object
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_loadopenstates.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadopenstates">loadOpenStates</a> restores open nodes from cookie
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_loadstate.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadstate">loadState</a> loads tree from cookie
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_loadxml.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadxml">loadXML</a> loads tree from xml file
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_loadxmlstring.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadxmlstring">loadXMLString</a> loads tree from xml string
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_lockitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_lockitem">lockItem</a> locks/unlocks item
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_locktree.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_locktree">lockTree</a> locks tree
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_makealldraggable.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_makealldraggable">makeAllDraggable</a> adds drag-n-drop capabilities (with possibility to drop into dhtmlxTree) to all <acronym title="HyperText Markup Language">HTML</acronym> items with dragInDhtmlXTree attribute
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_makedraggable.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_makedraggable">makeDraggable</a> adds drag-n-drop capabilities (with possibility to drop into dhtmlxTree) to <acronym title="HyperText Markup Language">HTML</acronym> object.
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_moveitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_moveitem">moveItem</a> moves item (inside of tree)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_openallitems.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_openallitems">openAllItems</a> expands target node and all sub nodes
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_openallitemsdynamic.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_openallitemsdynamic">openAllItemsDynamic</a> expands target node and all child nodes (same as openAllItems, but works in dynamic trees)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_openitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_openitem">openItem</a> expands node
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_openitemsdynamic.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_openitemsdynamic">openItemsDynamic</a> expands list of nodes in dynamic tree (wait of loading of node before expanding next)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_openonitemadded.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_openonitemadded">openOnItemAdded</a> configures if parent node will be expanded immideatly after child item added
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_preventiecaching.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_preventiecaching">preventIECaching</a> prevents caching in <acronym title="Internet Explorer">IE</acronym> by adding random value to <acronym title="Uniform Resource Locator">URL</acronym> string
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_refreshitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitem">refreshItem</a> refreshes tree branch from xml (<acronym title="Extensible Markup Language">XML</acronym> with child nodes rerequested from server)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_refreshitems.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitems">refreshItems</a> refreshes specified tree nodes (get <acronym title="Extensible Markup Language">XML</acronym> from server and updat only nodes included in itemIdList)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_registerxmlentity.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_registerxmlentity">registerXMLEntity</a> registers <acronym title="Extensible Markup Language">XML</acronym> entity for replacement while initialization (default are: ampersand, lessthen and greaterthen symbols)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_restoreselecteditem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_restoreselecteditem">restoreSelectedItem</a> restores selected item from cookie
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_saveopenstates.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_saveopenstates">saveOpenStates</a> saves open nodes to cookie
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_saveselecteditem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_saveselecteditem">saveSelectedItem</a> saves selected item to cookie
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_savestate.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_savestate">saveState</a> saves tree to cookie
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_selectitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_selectitem">selectItem</a> selects node ( and optionaly fire onselect event)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_serializetree.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_serializetree">serializeTree</a> gets xml representation (as string) of tree
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_serializetreetojson.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_serializetreetojson">serializeTreeToJSON</a> returns tree as json string
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setcheck.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setcheck">setCheck</a> sets state of node's checkbox
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setchildcalchtml.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setchildcalchtml">setChildCalcHTML</a> sets children calculation prefix and postfix
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setchildcalcmode.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setchildcalcmode">setChildCalcMode</a> sets children calculation mode
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setcustomsortfunction.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setcustomsortfunction">setCustomSortFunction</a> sets custom sort functions, which has two parametrs - id_of_item1,id_of_item2
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setdatamode.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setdatamode">setDataMode</a> sets default data transfer mode
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setdragbehavior.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setdragbehavior">setDragBehavior</a> sets Drag-And-Drop behavior (child - drop as chils, sibling - drop as sibling, complex - complex drop behaviour )
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_seteditstartaction.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_seteditstartaction">setEditStartAction</a> defines which events must start editing
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setescapingmode.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setescapingmode">setEscapingMode</a> sets escaping mode (used for escaping ID in requests)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setformappearon.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setformappearon">setFormAppearOn</a> defines events for form appearing
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setformdisappearon.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setformdisappearon">setFormDisappearOn</a> defines events for form disappearing
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_seticonpath.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_seticonpath">setIconPath</a> sets path to external images used as tree icons
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_seticonsize.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_seticonsize">setIconSize</a> sets size of icons
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setimagearrays.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setimagearrays">setImageArrays</a> sets images used for parent-child threads drawing (lines, plus, minus)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setimagepath.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setimagepath">setImagePath</a> sets path to images directory
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setitemcloseable.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcloseable">setItemCloseable</a> prevents node from closing
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setitemcolor.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcolor">setItemColor</a> sets node text color
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setitemcontextmenu.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcontextmenu">setItemContextMenu</a> sets context menu to individual nodes
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setitemimage.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemimage">setItemImage</a> sets item icons (mostly usefull for childless nodes)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setitemimage2.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemimage2">setItemImage2</a> sets item images
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setitemstyle.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemstyle">setItemStyle</a> sets individual item style
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setitemtext.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemtext">setItemText</a> sets new node text (<acronym title="HyperText Markup Language">HTML</acronym> allowed)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setitemtopoffset.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemtopoffset">setItemTopOffset</a> sets top offset for item
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setlistdelimeter.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setlistdelimeter">setListDelimeter</a> sets list separator (”,” by default)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setlockedicons.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setlockedicons">setLockedIcons</a> sets icon for locked items
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setondblclickhandler.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setondblclickhandler">setOnDblClickHandler</a> sets function called when tree node double clicked
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setonformdismissal.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setonformdismissal">setOnFormDismissal</a> allows to set user routine which will be called right before form disappears
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setonforminitialisation.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setonforminitialisation">setOnFormInitialisation</a> allows setting user routine which will be called immideatly before form appears
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setserializationlevel.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setserializationlevel">setSerializationLevel</a> configures <acronym title="Extensible Markup Language">XML</acronym> serialization
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setstdimages.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setstdimages">setStdImages</a> sets default images for nodes (must be called before <acronym title="Extensible Markup Language">XML</acronym> loading)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setsubchecked.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setsubchecked">setSubChecked</a> changes state of node's checkbox and all children checkboxes
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setuserdata.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setuserdata">setUserData</a> sets user data for target node
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setxmlautoloading.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setxmlautoloading">setXMLAutoLoading</a> enables dynamic loading from <acronym title="Extensible Markup Language">XML</acronym>
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setxmlautoloadingbehaviour.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setxmlautoloadingbehaviour">setXMLAutoLoadingBehaviour</a> defines which script be called on dynamic loading
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_showitemcheckbox.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_showitemcheckbox">showItemCheckbox</a> shows/hides checkbox for tree item (works only for individual items, not for entire tree )
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_showitemform.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_showitemform">showItemForm</a> shows item's form
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_showitemsign.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_showitemsign">showItemSign</a> shows/hides (+/-) icon (works only for individual items, not for entire tree )
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_smartrefreshbranch.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_smartrefreshbranch">smartRefreshBranch</a> refreshes specified tree branch (get <acronym title="Extensible Markup Language">XML</acronym> from server, add new nodes, remove not used nodes)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_smartrefreshitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_smartrefreshitem">smartRefreshItem</a> refreshes specified tree item (get <acronym title="Extensible Markup Language">XML</acronym> from server, add new nodes, remove not used nodes)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_sorttree.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_sorttree">sortTree</a> reorders items in tree according to their text
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_stopedit.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_stopedit">stopEdit</a> switches currently edited item back to normal view
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_updateitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_updateitem">updateItem</a> updates item properties
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="53-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_alpha" /><input type="submit" value="Edit" class="button" title="dhtmlxTree API Methods" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_toc_alpha.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_alpha" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_alpha" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_alpha" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_toc_alpha&1279804932" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_alpha" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_toc_alpha.html | HTML | art | 42,161 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:nodes_manipulation [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:nodes_manipulation</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:nodes_manipulation" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:nodes_manipulation" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:nodes_manipulation" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:nodes_manipulation" class="breadcrumbs" title="dhtmlxtree:nodes_manipulation">nodes_manipulation</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<!-- TOC START -->
<div class="toc">
<div class="tocheader toctoggle" id="toc__header">Table of Contents</div>
<div id="toc__inside">
<ul class="toc">
<li class="clear">
<ul class="toc">
<li class="level2"><div class="li"><span class="li"><a href="#nodes_manipulation" class="toc">Nodes Manipulation</a></span></div>
<ul class="toc">
<li class="level3"><div class="li"><span class="li"><a href="#adding_removing_items" class="toc">Adding/Removing Items</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#collapsing_expanding_items" class="toc">Collapsing/Expanding Items</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#editing_item" class="toc">Editing Item</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#integration_with_cookies" class="toc">Integration with Cookies</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#item_text_tooltip_color_manipulation" class="toc">Item Text, Tooltip, Color Manipulation</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#refreshing_and_updating_items" class="toc">Refreshing and Updating Items</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#items_ids_manipulation" class="toc">Items Ids Manipulation</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#items_position_manipulation" class="toc">Items Position Manipulation</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#calculating_items" class="toc">Calculating Items</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#user_data_manipulation" class="toc">User Data Manipulation</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#using_link-like_functionality_in_tree" class="toc">Using Link-Like Functionality in Tree</a></span></div></li></ul>
</li></ul>
</li></ul>
</div>
</div>
<!-- TOC END -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href="index.html" class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div></div>
</p>
<h2><a name="nodes_manipulation" id="nodes_manipulation">Nodes Manipulation</a></h2>
<div class="level2">
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="53-87" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:nodes_manipulation" /><input type="submit" value="Edit" class="button" title="Nodes Manipulation" /></div></form></div>
<h3><a name="adding_removing_items" id="adding_removing_items">Adding/Removing Items</a></h3>
<div class="level3">
</div>
<h4><a name="adding_parent_item" id="adding_parent_item">Adding Parent Item</a></h4>
<div class="level4">
<p>
Parent tree nodes can be easily added to the tree from script with the help of insertNewNext() method. The following incoming parameters should be indicated in this method:
</p>
<ul>
<li class="level1"><div class="li"> siblingId - id of the item after which the new one will be created;</div>
</li>
<li class="level1"><div class="li"> itemId - id of the new item;</div>
</li>
<li class="level1"><div class="li"> label - text of the new item;</div>
</li>
<li class="level1"><div class="li"> action - 0 in most cases, but can be a custom function;</div>
</li>
<li class="level1"><div class="li"> imageClosed - image for a collapsed item; if 0 is indicated - the default one is used;</div>
</li>
<li class="level1"><div class="li"> imageOpen - image for an expanded item; if 0 is indicated - the default one is used;</div>
</li>
<li class="level1"><div class="li"> imageLeaf - image for a leaf item; if 0 is indicated - the default one is used;</div>
</li>
<li class="level1"><div class="li"> additional options - a comma delimited string of the following possible values (upper case only):</div>
<ul>
<li class="level2"><div class="li"> SELECT - move selection to this item after its creation;</div>
</li>
<li class="level2"><div class="li"> CALL - call a function on select;</div>
</li>
<li class="level2"><div class="li"> TOP - add this item to the top position;</div>
</li>
<li class="level2"><div class="li"> CHILD - the node contains child items;</div>
</li>
<li class="level2"><div class="li"> CHECKED - the checkbox is checked (if exists).</div>
</li>
</ul>
</li>
</ul>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">insertNewNext</span><span class="br0">(</span><span class="nu0">1</span><span class="sy0">,</span><span class="nu0">2</span><span class="sy0">,</span><span class="st0">"New Node 2"</span><span class="sy0">,</span>0<span class="sy0">,</span>0<span class="sy0">,</span>0<span class="sy0">,</span>0<span class="sy0">,</span><span class="st0">"CHILD,CHECKED"</span><span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="adding_child_node" id="adding_child_node">Adding Child Node</a></h4>
<div class="level4">
<p>
Method insertNewChild() allows to add a new child item for the chosen tree node. The parameters the user should indicate are:
</p>
<ul>
<li class="level1"><div class="li"> parentId - id of the parent item in which the new child will be created;</div>
</li>
<li class="level1"><div class="li"> itemId - id of the new item;</div>
</li>
<li class="level1"><div class="li"> label - text of the new item;</div>
</li>
<li class="level1"><div class="li"> action - 0 in most cases, but can be a custom function;</div>
</li>
<li class="level1"><div class="li"> imageClosed - image for a collapsed item; if 0 is indicated - the default one is used;</div>
</li>
<li class="level1"><div class="li"> imageOpen - image for an expanded item; if 0 is indicated - the default one is used;</div>
</li>
<li class="level1"><div class="li"> imageLeaf - image for a leaf item; if 0 is indicated - the default one is used;</div>
</li>
<li class="level1"><div class="li"> additional options - a comma delimited string of the following possible values (upper case only):</div>
<ul>
<li class="level2"><div class="li"> SELECT - move selection to this item after its creation;</div>
</li>
<li class="level2"><div class="li"> CALL - call a function on item's select;</div>
</li>
<li class="level2"><div class="li"> TOP - add this item to the top position;</div>
</li>
<li class="level2"><div class="li"> CHILD - the node contains child items;</div>
</li>
<li class="level2"><div class="li"> CHECKED - the checkbox is checked (if exists).</div>
</li>
</ul>
</li>
</ul>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">insertNewChild</span><span class="br0">(</span>0<span class="sy0">,</span><span class="nu0">1</span><span class="sy0">,</span><span class="st0">"New Node 1"</span><span class="sy0">,</span>0<span class="sy0">,</span>0<span class="sy0">,</span>0<span class="sy0">,</span>0<span class="sy0">,</span><span class="st0">"SELECT,CALL,TOP,CHILD,CHECKED"</span><span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The item added as a child will be created always the last among other child items for the specified parent.
</p>
</div>
<h4><a name="removing_item" id="removing_item">Removing Item</a></h4>
<div class="level4">
<p>
Any item can be easily removed from the tree in the following way:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>t
tree.<span class="me1">deleteItem</span><span class="br0">(</span>itemId<span class="sy0">,</span> selectParent<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters the user should specify are:
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of the item in question;</div>
</li>
<li class="level1"><div class="li"> selectParent(true|false) - if set to true, the parent item of the removed one becomes selected when the removal is done, while false means that no other item will be selected in the tree after removal of the indicated item.</div>
</li>
</ul>
</div>
<h4><a name="removing_all_child_items" id="removing_all_child_items">Removing All Child Items</a></h4>
<div class="level4">
<p>
The following method allows the user to remove all child items of a certain node very easily:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">deleteChildItems</span><span class="br0">(</span>itemId<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="88-3262" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:nodes_manipulation" /><input type="submit" value="Edit" class="button" title="Adding/Removing Items" /></div></form></div>
<h3><a name="collapsing_expanding_items" id="collapsing_expanding_items">Collapsing/Expanding Items</a></h3>
<div class="level3">
</div>
<h4><a name="expanding_parent_item_on_child_adding" id="expanding_parent_item_on_child_adding">Expanding Parent Item on Child Adding</a></h4>
<div class="level4">
<p>
There is a possibility in dhtmlxTree to set whether a parent item will be expanded or not when a child item is added to it.
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">openOnItemAdded</span><span class="br0">(</span>mode<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The method can be set either to true (the parent item will be expanded on child adding) or to false (the parent item won't be expanded).
</p>
</div>
<h4><a name="collapsing_expanding_item" id="collapsing_expanding_item">Collapsing/Expanding Item</a></h4>
<div class="level4">
<p>
There is the possibility to expand/collapse any node in dhtmlxTree from script. The only value that the user should indicate, is the id of the item in question:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">openItem</span><span class="br0">(</span>itemId<span class="br0">)</span>; <span class="co1">// expand the indicated item</span>
tree.<span class="me1">closeItem</span><span class="br0">(</span>itemId<span class="br0">)</span>; <span class="co1">// collapse the indicated item</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="collapsing_expanding_all_items" id="collapsing_expanding_all_items">Collapsing/Expanding All Items</a></h4>
<div class="level4">
<p>
The user can also expand/collapse all items in the tree. The optional parameter here is the id of the item starting from which all items will be expanded/collapsed:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">openAllItems</span><span class="br0">(</span>itemId<span class="br0">)</span>; <span class="co1">// expand all items</span>
tree.<span class="me1">closeAllItems</span><span class="br0">(</span>itemId<span class="br0">)</span>; <span class="co1">// collapse all items</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The method to expand all tree items that is similar to the above mentioned one but that works in dynamical trees:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">openAllItemsDynamic</span><span class="br0">(</span>itemId<span class="br0">)</span>; <span class="co1">// expands all items in a dynamical tree</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="expanding_item_s_list" id="expanding_item_s_list">Expanding Item's List</a></h4>
<div class="level4">
<p>
The method to expand a list of tree items in dynamical tree (items are expanded one by one, the next item will be opened only when the previous one is loaded):
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">openItemsDynamic</span><span class="br0">(</span>list<span class="sy0">,</span>flag<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters are:
</p>
<ul>
<li class="level1"><div class="li"> list - list of nodes ids that will be expanded;</div>
</li>
<li class="level1"><div class="li"> flag (true|false) - indicates whether the last node in the list will be selected (true) or not (false).</div>
</li>
</ul>
</div>
<h4><a name="prevent_item_from_collapsing" id="prevent_item_from_collapsing">Prevent Item from Collapsing</a></h4>
<div class="level4">
<p>
There is a method that can prevent the item from collapsing:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">setItemCloseable</span><span class="br0">(</span>itemId<span class="sy0">,</span>flag<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters here are as follows:
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of the node;</div>
</li>
<li class="level1"><div class="li"> flag(true|false) - if set to false, prevents the item from collapsing.</div>
</li>
</ul>
</div>
<h4><a name="getting_item_state" id="getting_item_state">Getting Item State</a></h4>
<div class="level4">
<p>
Item's state (expanded|collapsed) can be got in the following way:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> state <span class="sy0">=</span> tree.<span class="me1">getOpenState</span><span class="br0">(</span>itemId<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The method returns true if the item in question is expanded, and false if the item is collapsed.
</p>
</div>
<h4><a name="locking_tree_item" id="locking_tree_item">Locking Tree/Item</a></h4>
<div class="level4">
<p>
By locking the tree, the user denies expanding|collapsing tree nodes. By default the tree isn't locked (false). To lock the tree, lockTree() method should be set to true:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">lockTree</span><span class="br0">(</span><span class="kw2">true</span><span class="br0">)</span>; <span class="co1">// false to unlock the tree</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
Any item, whether it is a parent or a child one, can be also locked by method lockItem():
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">lockItem</span><span class="br0">(</span>itemId<span class="br0">)</span>; <span class="co1">// id of the item as the input parameter</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="getting_locking_state" id="getting_locking_state">Getting Locking State</a></h4>
<div class="level4">
<p>
To get the state (locked|unlocked) of any item in the tree, the user should apply the following method:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> itemState <span class="sy0">=</span> tree.<span class="me1">isLocked</span><span class="br0">(</span>itemId<span class="br0">)</span>; <span class="co1">// returns current item's state</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
If the item in question is locked, the method returns true, if it is unlocked, false is returned.
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="3263-6730" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:nodes_manipulation" /><input type="submit" value="Edit" class="button" title="Collapsing/Expanding Items" /></div></form></div>
<h3><a name="editing_item" id="editing_item">Editing Item</a></h3>
<div class="level3">
</div>
<h4><a name="making_items_editable" id="making_items_editable">Making Items Editable</a></h4>
<div class="level4">
<p>
Any item in the tree can be made editable - double click on the item allows to edit its title text. By default all items in the tree are not editable (false). To make them so, the user should write the following code line:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">enableItemEditor</span><span class="br0">(</span><span class="kw2">true</span><span class="br0">)</span>; <span class="co1">// false to deny items editing</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="activating_editor_for_item" id="activating_editor_for_item">Activating Editor for Item</a></h4>
<div class="level4">
<p>
The user can activate the editor for a specified item from script with the help of method editItem(). The only parameter that should be specified is id of this item:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">editItem</span><span class="br0">(</span>itemId<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="deactivating_editor_for_item" id="deactivating_editor_for_item">Deactivating Editor for Item</a></h4>
<div class="level4">
<p>
Item's editor can be easily deactivated from script bringing the item back to its normal view:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">stopEdit</span><span class="br0">(</span><span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="defining_editing_event" id="defining_editing_event">Defining Editing Event</a></h4>
<div class="level4">
<p>
The event that starts item's editing can be defined from script in the following way:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">setEditStartAction</span><span class="br0">(</span>click<span class="sy0">,</span> dblclick<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters define the following:
</p>
<ul>
<li class="level1"><div class="li"> click(true|false) - item's editing will be activated by a click on the selected item;</div>
</li>
<li class="level1"><div class="li"> dblclick(true|false) - item's editing will be activated by a double click on the selected item.</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="6731-8096" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:nodes_manipulation" /><input type="submit" value="Edit" class="button" title="Editing Item" /></div></form></div>
<h3><a name="integration_with_cookies" id="integration_with_cookies">Integration with Cookies</a></h3>
<div class="level3">
</div>
<h4><a name="saving_items_states_to_cookies" id="saving_items_states_to_cookies">Saving Items' States to Cookies</a></h4>
<div class="level4">
<p>
The user has the possibility to store states of items to cookies in the following way:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">saveOpenStates</span><span class="br0">(</span>cookie_name<span class="sy0">,</span>cookie_param<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters of this method are:
</p>
<ul>
<li class="level1"><div class="li"> cookie_name - name of the cookie (optional parameter);</div>
</li>
<li class="level1"><div class="li"> cookie_param - additional parameters added to cookie.</div>
</li>
</ul>
</div>
<h4><a name="restoring_items_states_from_cookies" id="restoring_items_states_from_cookies">Restoring Items' States from Cookies</a></h4>
<div class="level4">
<p>
There is a method that restores items' states (expanded|collapsed) from cookie's information:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">loadOpenStates</span><span class="br0">(</span>cookie_name<span class="br0">)</span>; <span class="co1">// the parameter is optional</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="saving_selection_to_cookies" id="saving_selection_to_cookies">Saving Selection to Cookies</a></h4>
<div class="level4">
<p>
Item's selection can be also stored in cookies in the following way:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">saveSelectedItem</span><span class="br0">(</span>cookie_name<span class="sy0">,</span>cookie_param<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters of this method are:
</p>
<ul>
<li class="level1"><div class="li"> cookie_name - name of the cookie (optional parameter);</div>
</li>
<li class="level1"><div class="li"> cookie_param - additional parameters added to cookie.</div>
</li>
</ul>
</div>
<h4><a name="restoring_selection_from_cookies" id="restoring_selection_from_cookies">Restoring Selection from Cookies</a></h4>
<div class="level4">
<p>
Item's selection can be restored from cookie in the following way:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">restoreSelectedItem</span><span class="br0">(</span>cookie_name<span class="br0">)</span>; <span class="co1">// the parameter is optional</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="saving_tree_to_cookies" id="saving_tree_to_cookies">Saving Tree to Cookies</a></h4>
<div class="level4">
<p>
Method saveState() stores the whole tree to cookies:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">saveState</span><span class="br0">(</span>cookie_name<span class="sy0">,</span>cookie_param<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters of this method are:
</p>
<ul>
<li class="level1"><div class="li"> cookie_name - name of the cookie (optional parameter);</div>
</li>
<li class="level1"><div class="li"> cookie_param - additional parameters added to cookie</div>
</li>
</ul>
</div>
<h4><a name="restoring_tree_from_cookies" id="restoring_tree_from_cookies">Restoring Tree from Cookies</a></h4>
<div class="level4">
<p>
Method loadState() restores the whole tree from cookies:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">loadState</span><span class="br0">(</span>cookie_name<span class="br0">)</span>; <span class="co1">// the parameter is optional</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="enabling_item_s_auto_saving" id="enabling_item_s_auto_saving">Enabling Item's Auto Saving</a></h4>
<div class="level4">
<p>
dhtmlxTree allows its users to save the selected node automatically in cookies. Method enableAutoSavingSelected() is used to switch this on|off in the tree:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">enableAutoSavingSelected</span><span class="br0">(</span>mode<span class="sy0">,</span>cookieName<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters are:
</p>
<ul>
<li class="level1"><div class="li"> mode(true|false) - indicates whether the auto saving is on|off;</div>
</li>
<li class="level1"><div class="li"> cookieName - name of the cookie.</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="8097-10416" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:nodes_manipulation" /><input type="submit" value="Edit" class="button" title="Integration with Cookies" /></div></form></div>
<h3><a name="item_text_tooltip_color_manipulation" id="item_text_tooltip_color_manipulation">Item Text, Tooltip, Color Manipulation</a></h3>
<div class="level3">
</div>
<h4><a name="setting_item_s_label" id="setting_item_s_label">Setting Item's Label</a></h4>
<div class="level4">
<p>
The user can set the label (text) of a tree node in the following way:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">setItemText</span><span class="br0">(</span>itemId<span class="sy0">,</span> newLabel<span class="sy0">,</span> newTooltip<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters are as follows:
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of the item in question;</div>
</li>
<li class="level1"><div class="li"> newLabel - new text for item's label;</div>
</li>
<li class="level1"><div class="li"> newTooltip - the text indicated in this parameter will be used as item's tooltip text (optional parameter).</div>
</li>
</ul>
</div>
<h4><a name="getting_item_s_label" id="getting_item_s_label">Getting Item's Label</a></h4>
<div class="level4">
<p>
The user has the possibility to get text of item's label indicating item's id in the following way:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> text <span class="sy0">=</span> tree.<span class="me1">getItemText</span><span class="br0">(</span>itemId<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The user can also get the text of the currently selected item in the following way:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> textSelected <span class="sy0">=</span> tree.<span class="me1">getSelectedItemText</span><span class="br0">(</span><span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="setting_item_s_color" id="setting_item_s_color">Setting Item's Color</a></h4>
<div class="level4">
<p>
The following line of code is responsible for node's color (text color) in the tree:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">setItemColor</span><span class="br0">(</span>itemId<span class="sy0">,</span> defaultColor<span class="sy0">,</span> selectedColor<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters the user should specify are as follows:
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of the item in question;</div>
</li>
<li class="level1"><div class="li"> defaultColor - item's color;</div>
</li>
<li class="level1"><div class="li"> selectedColor - item's color for a selected state.</div>
</li>
</ul>
</div>
<h4><a name="getting_item_s_color" id="getting_item_s_color">Getting Item's Color</a></h4>
<div class="level4">
<p>
Item's color can be easily got by item id in the following way:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
car color <span class="sy0">=</span> tree.<span class="me1">getItemColor</span><span class="br0">(</span>itemId<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The object returned by the above mentioned method has parameters { acolor:“value”, scolor:“value” } where:
</p>
<ul>
<li class="level1"><div class="li"> acolor - means color for the normal state of the item;</div>
</li>
<li class="level1"><div class="li"> scolor - means color for the selected state of the item.</div>
</li>
</ul>
<p>
The format of the color will be the same as it was set in setItemColor() method.
</p>
</div>
<h4><a name="setting_item_s_tooltip" id="setting_item_s_tooltip">Setting Item's Tooltip</a></h4>
<div class="level4">
<p>
There are three ways to set tooltip for an item in dhtmlxTree:
</p>
<ul>
<li class="level1"><div class="li"> Using node's text (“label” attribute of a node) as tooltip. In this case the following method should be used:</div>
</li>
</ul>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">enableAutoTooltips</span><span class="br0">(</span><span class="kw2">true</span>|false<span class="br0">)</span>; <span class="co1">// false by default</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre><ul>
<li class="level1"><div class="li"> Using “tooltip” attribute of a node in <acronym title="Extensible Markup Language">XML</acronym> (it is used by default if this attribute was specified);</div>
</li>
<li class="level1"><div class="li"> Using setItemText method specifying its third parameter.</div>
</li>
</ul>
</div>
<h4><a name="getting_item_s_tooltip" id="getting_item_s_tooltip">Getting Item's Tooltip</a></h4>
<div class="level4">
<p>
Item's tooltip is also easy to get with the help of getItemTooltip() method indicating item id:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> tooltip <span class="sy0">=</span> tree.<span class="me1">getItemTooltip</span><span class="br0">(</span>itemId<span class="br0">)</span>;
<span class="sy0"><</span>script<span class="sy0">></span>
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="10417-13017" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:nodes_manipulation" /><input type="submit" value="Edit" class="button" title="Item Text, Tooltip, Color Manipulation" /></div></form></div>
<h3><a name="refreshing_and_updating_items" id="refreshing_and_updating_items">Refreshing and Updating Items</a></h3>
<div class="level3">
</div>
<h4><a name="refreshing_item_items" id="refreshing_item_items">Refreshing Item/Items</a></h4>
<div class="level4">
<p>
The following method is used to refresh data for the specified node:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">refreshItem</span><span class="br0">(</span>itemId<span class="br0">)</span>; <span class="co1">// if item id is not indicated, id of the top tree item will be used</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The code string mentioned above presupposes that all the child items of the indicated node are removed, an <acronym title="Extensible Markup Language">XML</acronym> file (indicated in setXMLAutoLoading(); auto loading should be activated) is loaded from the server. The data from this file is used for creating new child items of the node in question.
</p>
<p>
The following method is used to refresh data for several nodes:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">refreshItems</span><span class="br0">(</span>itemIdList<span class="sy0">,</span> source<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters of this method include the list of items that should be refreshed, and the path to the <acronym title="Extensible Markup Language">XML</acronym> file from which new data will be loaded.
In this case, the data is refreshed only for nodes indicated in itemIdList (not their children).
</p>
</div>
<h4><a name="smart_branch_refreshing" id="smart_branch_refreshing">Smart Branch Refreshing</a></h4>
<div class="level4">
<p>
There is one more possibility to refresh tree data. smartRefreshBranch() method is able to load <acronym title="Extensible Markup Language">XML</acronym> from the server and refresh data for the specified branch (text, icons, items). It should be noted that the current position and all changes introduced by the user stay the same in this case.
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">smartRefreshBranch</span><span class="br0">(</span>itemId<span class="sy0">,</span>source<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters here are responsible for:
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of the item from which the refreshing starts in the branch;</div>
</li>
<li class="level1"><div class="li"> source - server side script, optional parameter. If it is not set, the system will use the source indicated in setXMLAutoLoading().</div>
</li>
</ul>
</div>
<h4><a name="smart_item_refreshing" id="smart_item_refreshing">Smart Item Refreshing</a></h4>
<div class="level4">
<p>
Method smartRefreshItem() is responsible for loading <acronym title="Extensible Markup Language">XML</acronym> which data is used for refreshing the specified item in the tree. As with the previous method, this one keeps the current position of the item and all other changes introduced by the user.
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">smartRefreshItem</span><span class="br0">(</span>itemId<span class="sy0">,</span>source<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters are as follows:
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of the item in question;</div>
</li>
<li class="level1"><div class="li"> source - server side script, optional parameter. If it is not set, the system will use the source indicated in setXMLAutoLoading().</div>
</li>
</ul>
</div>
<h4><a name="updating_item" id="updating_item">Updating Item</a></h4>
<div class="level4">
<p>
There is a simple way of updating items in dhmlxTree - updateItem() method. The used should indicate the id of the item that is going to be updated, and parameters that are going to be updated:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">updateItem</span><span class="br0">(</span>itemId<span class="sy0">,</span><span class="kw3">name</span><span class="sy0">,</span>im0<span class="sy0">,</span>im1<span class="sy0">,</span>im2<span class="sy0">,</span>achecked<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters of this method are as follows:
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of the item in question;</div>
</li>
<li class="level1"><div class="li"> name - title text of the item;</div>
</li>
<li class="level1"><div class="li"> im0 - the icon for a leaf node;</div>
</li>
<li class="level1"><div class="li"> im1 - the icon for an expanded parent node;</div>
</li>
<li class="level1"><div class="li"> im2 - the icon for a collapsed parent node;</div>
</li>
<li class="level1"><div class="li"> achecked(true|false) - whether the checkbox is checked (true) or not (false).</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="13018-15989" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:nodes_manipulation" /><input type="submit" value="Edit" class="button" title="Refreshing and Updating Items" /></div></form></div>
<h3><a name="items_ids_manipulation" id="items_ids_manipulation">Items Ids Manipulation</a></h3>
<div class="level3">
</div>
<h4><a name="getting_list_of_parent_items_ids" id="getting_list_of_parent_items_ids">Getting List of Parent Items Ids</a></h4>
<div class="level4">
<p>
The following methods allow the user to get ids of all parent tree nodes:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> parents <span class="sy0">=</span> tree.<span class="me1">getAllItemsWithKids</span><span class="br0">(</span><span class="br0">)</span>; <span class="co1">// returns the array of nodes ids</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="getting_list_of_leaf_items_ids" id="getting_list_of_leaf_items_ids">Getting List of Leaf Items Ids</a></h4>
<div class="level4">
<p>
The user can get the list of ids of all tree items that do not have child nodes (childless items):
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> childless <span class="sy0">=</span> tree.<span class="me1">getAllChildless</span><span class="br0">(</span><span class="br0">)</span>; <span class="co1">// returns the array of nodes ids</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="getting_list_of_sub-items_ids" id="getting_list_of_sub-items_ids">Getting List of Sub-Items Ids</a></h4>
<div class="level4">
<p>
The user can easily get ids of all sub-items starting from the item which id is indicated in this method:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> subItems <span class="sy0">=</span> tree.<span class="me1">getAllSubItems</span><span class="br0">(</span>itemId<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
Getting the list of all sub-items ids for the specified item is quite easy. This parent item id should be specified:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">getSubItems</span><span class="br0">(</span>itemId<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="changing_item_id" id="changing_item_id">Changing Item Id</a></h4>
<div class="level4">
<p>
The user can change any node's id if there's such a need in the following way:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">changeItemId</span><span class="br0">(</span>itemCurrentId<span class="sy0">,</span>itemNewId<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="getting_child_item_id" id="getting_child_item_id">Getting Child Item Id</a></h4>
<div class="level4">
<p>
The user can get any child item id by its index (sequence number) and the id of its parent:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> childId <span class="sy0">=</span> tree.<span class="me1">getItemIdByIndex</span><span class="br0">(</span>itemId<span class="sy0">,</span>index<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters are:
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of the parent item;</div>
</li>
<li class="level1"><div class="li"> index - sequence number of the child item (starting with 0).</div>
</li>
</ul>
</div>
<h4><a name="getting_child_item_index" id="getting_child_item_index">Getting Child Item Index</a></h4>
<div class="level4">
<p>
Child item's index (sequence number) can be easily got by its id:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> childIndex <span class="sy0">=</span> tree.<span class="me1">getIndexById</span><span class="br0">(</span>itemId<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameter is id of the child item which index the user wants to get.
</p>
</div>
<h4><a name="getting_item_s_parent_id" id="getting_item_s_parent_id">Getting Item's Parent Id</a></h4>
<div class="level4">
<p>
getParentId() method can be used to get item's parent id:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> parent <span class="sy0">=</span> tree.<span class="me1">getParentId</span><span class="br0">(</span>itemId<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The id of the item should be indicated as the parameter.
</p>
</div>
<h4><a name="getting_ids_list_of_checked_unchecked_tree_items" id="getting_ids_list_of_checked_unchecked_tree_items">Getting Ids List of Checked/Unchecked Tree Items</a></h4>
<div class="level4">
<p>
The ids of all checked/unchecked items in the tree can be easily got by getAllChecked() method:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> list <span class="sy0">=</span> tree.<span class="me1">getAllChecked</span><span class="br0">(</span><span class="br0">)</span>; <span class="co1">// returns the array of all checked items ids</span>
<span class="co1">// or</span>
<span class="kw2">var</span> list <span class="sy0">=</span> tree.<span class="me1">getAllUnchecked</span><span class="br0">(</span><span class="br0">)</span>; <span class="co1">// returns the array of all unchecked items ids</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="getting_ids_list_of_partially_checked_items" id="getting_ids_list_of_partially_checked_items">Getting Ids List of Partially Checked Items</a></h4>
<div class="level4">
<p>
The method, similar to the above mentioned ones, exists for getting the ids of all partially checked items in the tree:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> list <span class="sy0">=</span> tree.<span class="me1">getAllPartiallyChecked</span><span class="br0">(</span><span class="br0">)</span>; <span class="co1">// returns the array of all checked items ids</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="getting_ids_list_of_checked_branches" id="getting_ids_list_of_checked_branches">Getting Ids List of Checked Branches</a></h4>
<div class="level4">
<p>
Ids of all checked branches in the tree can be got like this:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> list <span class="sy0">=</span> tree.<span class="me1">getAllCheckedBranches</span><span class="br0">(</span><span class="br0">)</span>; <span class="co1">// returns the array of all checked branches ids</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="getting_selected_item_id" id="getting_selected_item_id">0 Getting Selected Item Id</a></h4>
<div class="level4">
<p>
Selected item's id is easy to get through getSelectedItemId() method which takes item id as the parameter:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> selectId <span class="sy0">=</span> tree.<span class="me1">getSelectedItemId</span><span class="br0">(</span><span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="setting_list_separator" id="setting_list_separator">1 Setting List Separator</a></h4>
<div class="level4">
<p>
There is a simple way of setting list separator in dhtmlxTree:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">setListDelimeter</span><span class="br0">(</span>separator<span class="br0">)</span>; <span class="co1">// by default the separator is ","</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
There is only one parameter here - separator - char or string used for separating items in lists.
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="15990-19725" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:nodes_manipulation" /><input type="submit" value="Edit" class="button" title="Items Ids Manipulation" /></div></form></div>
<h3><a name="items_position_manipulation" id="items_position_manipulation">Items Position Manipulation</a></h3>
<div class="level3">
</div>
<h4><a name="moving_items" id="moving_items">Moving Items</a></h4>
<div class="level4">
<p>
Any item in the tree can be moved with the help of moveItem() method.
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">moveItem</span><span class="br0">(</span>itemId<span class="sy0">,</span> mode<span class="sy0">,</span> targetId<span class="sy0">,</span> targetTree<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The following parameters should be specified for this method:
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of the item in question;</div>
</li>
<li class="level1"><div class="li"> mode - one of the moving modes available:</div>
<ul>
<li class="level2"><div class="li"> left - the item will be moved to the left of node's current position;</div>
</li>
<li class="level2"><div class="li"> up - the item will be moved one level up in the hierarchy;</div>
</li>
<li class="level2"><div class="li"> up_strict - the item will be moved one position up, but will remain in the same level of the hierarchy;</div>
</li>
<li class="level2"><div class="li"> down - the item will be moved one level down in the hierarchy;</div>
</li>
<li class="level2"><div class="li"> down_strict - the item will be moved one position down, but will remain in the same level of the hierarchy;</div>
</li>
<li class="level2"><div class="li"> item_child - the item will be made child of the target item;</div>
</li>
<li class="level2"><div class="li"> item_sibling - the item will be made sibling of the target item, and will be placed before the target item;</div>
</li>
<li class="level2"><div class="li"> item_sibling_next - the item will be made sibling of the target item, and will be placed after the target item;</div>
</li>
</ul>
</li>
<li class="level1"><div class="li"> targetId - id of the item relative to which the item in question will be moved;</div>
</li>
<li class="level1"><div class="li"> targetTree (optonal) - the object of some other tree the item in question is moved into.</div>
</li>
</ul>
</div>
<h4><a name="cutting_pasting_items" id="cutting_pasting_items">Cutting/Pasting Items</a></h4>
<div class="level4">
<p>
One more way of nodes moving is through doCut() and doPaste() commands. But they work only with selected items:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">doCut</span><span class="br0">(</span><span class="br0">)</span>; <span class="co1">// marks the selected item as cut</span>
tree.<span class="me1">doPaste</span><span class="br0">(</span>itemId<span class="br0">)</span>; <span class="co1">// id of a new parent node</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The cut item will be made a child node of the item indicated in the method doPaste().
</p>
</div>
<h4><a name="clearing_cut_mark" id="clearing_cut_mark">Clearing Cut Mark</a></h4>
<div class="level4">
<p>
To clear the mark made by doCut() method, the user is advised to use clearCut() one:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">clearCut</span><span class="br0">(</span><span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="getting_item_s_level" id="getting_item_s_level">Getting Item's Level</a></h4>
<div class="level4">
<p>
There is a method in dhtmlxTree that allows the user to get item's current level (position in hierarchy) indicating this item's id:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> level <span class="sy0">=</span> getLevel<span class="br0">(</span>itemId<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<h4><a name="setting_item_top_offset" id="setting_item_top_offset">Setting Item Top Offset</a></h4>
<div class="level4">
<p>
There is the possibility to set top offset for a tree item using the following method:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">setItemTopOffset</span><span class="br0">(</span>itemId<span class="sy0">,</span>value<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters are:
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of the item in question;</div>
</li>
<li class="level1"><div class="li"> value - offset value.</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="19726-22217" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:nodes_manipulation" /><input type="submit" value="Edit" class="button" title="Items Position Manipulation" /></div></form></div>
<h3><a name="calculating_items" id="calculating_items">Calculating Items</a></h3>
<div class="level3">
</div>
<h4><a name="setting_calculation_mode" id="setting_calculation_mode">Setting Calculation Mode</a></h4>
<div class="level4">
<p>
The user can set calculation mode for the tree in the following way:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">setChildCalcMode</span><span class="br0">(</span>mode<span class="br0">)</span>; <span class="co1">// disabled by default</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
There are the following mode variants available:
</p>
<ul>
<li class="level1"><div class="li"> child - direct child items, no recursive;</div>
</li>
<li class="level1"><div class="li"> leafs - direct child items without sub-items, no recursive;</div>
</li>
<li class="level1"><div class="li"> childrec - child items (leaf items and those with their own child items), recursive;</div>
</li>
<li class="level1"><div class="li"> leafsrec - child items without sub-items, recursive;</div>
</li>
<li class="level1"><div class="li"> disabled - disable this mode.</div>
</li>
</ul>
<p>
All tree child nodes will be calculated in this mode.
</p>
</div>
<h4><a name="setting_calculation_html" id="setting_calculation_html">Setting Calculation HTML</a></h4>
<div class="level4">
<p>
Along with setting the calculation mode for child items, the user can specify calculation <acronym title="HyperText Markup Language">HTML</acronym> like this:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">setChildCalcHTML</span><span class="br0">(</span>htmlA<span class="sy0">,</span>htmlB<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters here are:
</p>
<ul>
<li class="level1"><div class="li"> htmlA - prefix of the calculator (”[” by default);</div>
</li>
<li class="level1"><div class="li"> htmlB - postfix of the calculator (”]” by default).</div>
</li>
</ul>
</div>
<h4><a name="getting_number_of_child_items" id="getting_number_of_child_items">Getting Number of Child Items</a></h4>
<div class="level4">
<p>
The number of child items of a certain parent can be got in the following way:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> childItems <span class="sy0">=</span> tree.<span class="me1">hasChildren</span><span class="br0">(</span>itemId<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="22218-23479" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:nodes_manipulation" /><input type="submit" value="Edit" class="button" title="Calculating Items" /></div></form></div>
<h3><a name="user_data_manipulation" id="user_data_manipulation">User Data Manipulation</a></h3>
<div class="level3">
</div>
<h4><a name="setting_user_data" id="setting_user_data">Setting User Data</a></h4>
<div class="level4">
<p>
User data can be set for any tree item in dhtmlxTree:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">setUserData</span><span class="br0">(</span>itemId<span class="sy0">,</span><span class="kw3">name</span><span class="sy0">,</span>value<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters of this method are:
</p>
<ul>
<li class="level1"><div class="li"> iteId - id of the item in question;</div>
</li>
<li class="level1"><div class="li"> name - name of user data;</div>
</li>
<li class="level1"><div class="li"> value - value of user data.</div>
</li>
</ul>
</div>
<h4><a name="getting_user_data" id="getting_user_data">Getting User Data</a></h4>
<div class="level4">
<p>
User data set for a tree node can be got in the following way:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> userData <span class="sy0">=</span> tree.<span class="me1">getUserData</span><span class="br0">(</span>itemId<span class="sy0">,</span><span class="kw3">name</span><span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters of this method are:
</p>
<ul>
<li class="level1"><div class="li"> iteId - id of the item in question;</div>
</li>
<li class="level1"><div class="li"> name - name of user data.</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="23480-24149" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:nodes_manipulation" /><input type="submit" value="Edit" class="button" title="User Data Manipulation" /></div></form></div>
<h3><a name="using_link-like_functionality_in_tree" id="using_link-like_functionality_in_tree">Using Link-Like Functionality in Tree</a></h3>
<div class="level3">
<p>
Any node if the tree can have link-like functionality specified for it. The link for an item can be set by user in <acronym title="Extensible Markup Language">XML</acronym>. The user should also specify <a href="dhtmlxtree___event_onclick.html" class="wikilink1" title="dhtmlxtree:event_onclick">onClick event</a> for the item with link-like functionality.
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="24150-" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:nodes_manipulation" /><input type="submit" value="Edit" class="button" title="Using Link-Like Functionality in Tree" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/nodes_manipulation.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:nodes_manipulation" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:nodes_manipulation" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:nodes_manipulation" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Anodes_manipulation&1279804935" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:nodes_manipulation" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___nodes_manipulation.html | HTML | art | 66,743 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:event_ondrop [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:event_ondrop</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_ondrop" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_ondrop" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:event_ondrop" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:event_ondrop" class="breadcrumbs" title="dhtmlxtree:event_ondrop">event_ondrop</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div></div>
</p>
<h2><a name="ondrop_event" id="ondrop_event">onDrop Event</a></h2>
<div class="level2">
<p>
This event calls user-defined handlers (if there are any) and passes the following parameters:
</p>
<ul>
<li class="level1"><div class="li"> sId - id of the source item (id after inserting into the tree, my not be equal to the initial id); </div>
</li>
<li class="level1"><div class="li"> tId - id of the target item;</div>
</li>
<li class="level1"><div class="li"> id - if the node is dropped as a sibling, id of the item before which the source node will be inserted;</div>
</li>
<li class="level1"><div class="li"> sObject - source tree object;</div>
</li>
<li class="level1"><div class="li"> tObject - target tree object.</div>
</li>
</ul>
<pre class="code javascript"> tree.<span class="me1">attachEvent</span><span class="br0">(</span><span class="st0">"onDrop"</span><span class="sy0">,</span> <span class="kw2">function</span><span class="br0">(</span>sId<span class="sy0">,</span>tId<span class="sy0">,</span>id<span class="sy0">,</span>sObject<span class="sy0">,</span>tObject<span class="br0">)</span><span class="br0">{</span><span class="br0">}</span><span class="br0">)</span>;
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="53-" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:event_ondrop" /><input type="submit" value="Edit" class="button" title="onDrop Event" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/event_ondrop.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_ondrop" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_ondrop" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:event_ondrop" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aevent_ondrop&1279804934" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_ondrop" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___event_ondrop.html | HTML | art | 8,322 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:compatibility_with_other_dhtmlx_components [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:compatibility_with_other_dhtmlx_components</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:compatibility_with_other_dhtmlx_components" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:compatibility_with_other_dhtmlx_components" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:compatibility_with_other_dhtmlx_components" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:compatibility_with_other_dhtmlx_components" class="breadcrumbs" title="dhtmlxtree:compatibility_with_other_dhtmlx_components">compatibility_with_other_dhtmlx_components</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<!-- TOC START -->
<div class="toc">
<div class="tocheader toctoggle" id="toc__header">Table of Contents</div>
<div id="toc__inside">
<ul class="toc">
<li class="clear">
<ul class="toc">
<li class="level2"><div class="li"><span class="li"><a href="#compatibility_with_other_dhtmlx_components" class="toc">Compatibility with Other DHTMLX Components</a></span></div>
<ul class="toc">
<li class="level3"><div class="li"><span class="li"><a href="#enabling_contextual_menu" class="toc">Enabling Contextual Menu</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#contextual_menu_based_on_item_s_properties" class="toc">Contextual Menu Based on Item's Properties</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#contextual_menu_for_individual_items" class="toc">Contextual Menu for Individual Items</a></span></div></li></ul>
</li></ul>
</li></ul>
</div>
</div>
<!-- TOC END -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href="index.html" class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div></div>
</p>
<h2><a name="compatibility_with_other_dhtmlx_components" id="compatibility_with_other_dhtmlx_components">Compatibility with Other DHTMLX Components</a></h2>
<div class="level2">
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="53-111" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:compatibility_with_other_dhtmlx_components" /><input type="submit" value="Edit" class="button" title="Compatibility with Other DHTMLX Components" /></div></form></div>
<h3><a name="enabling_contextual_menu" id="enabling_contextual_menu">Enabling Contextual Menu</a></h3>
<div class="level3">
<p>
A contextual menu can be easily added to dhtmlxTree. The content of this menu can be set with <acronym title="Extensible Markup Language">XML</acronym> or script. To enable the contextual menu, the user should do the following:
</p>
<pre class="code javascript">
<span class="sy0"><</span>script<span class="sy0">></span>
<span class="co1">//initialization of the menu </span>
menu <span class="sy0">=</span> <span class="kw2">new</span> dhtmlXMenuObject<span class="br0">(</span><span class="kw2">null</span><span class="sy0">,</span><span class="st0">"standard"</span><span class="br0">)</span>;
menu.<span class="me1">setImagePath</span><span class="br0">(</span><span class="st0">"[full path to this folder]/dhtmlxMenu/codebase/imgs/"</span><span class="br0">)</span>;
menu.<span class="me1">setIconsPath</span><span class="br0">(</span><span class="st0">"[full path to this folder]/images/"</span><span class="br0">)</span>;
menu.<span class="me1">renderAsContextMenu</span><span class="br0">(</span><span class="br0">)</span>;
menu.<span class="me1">loadXML</span><span class="br0">(</span><span class="st0">"_context.xml"</span><span class="br0">)</span>;
<span class="co1">//initialization of the tree</span>
tree <span class="sy0">=</span> <span class="kw2">new</span> dhtmlXTreeObject<span class="br0">(</span><span class="st0">"treeboxbox_tree"</span><span class="sy0">,</span><span class="st0">"100%"</span><span class="sy0">,</span><span class="st0">"100%"</span><span class="sy0">,</span>0<span class="br0">)</span>;
...
<span class="co1">//link the contextual menu to the tree </span>
tree.<span class="me1">enableContextMenu</span><span class="br0">(</span>aMenu<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="112-1029" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:compatibility_with_other_dhtmlx_components" /><input type="submit" value="Edit" class="button" title="Enabling Contextual Menu" /></div></form></div>
<h3><a name="contextual_menu_based_on_item_s_properties" id="contextual_menu_based_on_item_s_properties">Contextual Menu Based on Item's Properties</a></h3>
<div class="level3">
<p>
One contextual menu content can be attached to the whole tree. If the user wants the menu to be shown differently depending on the item it was called for, menu methods hideButtons/showButtons should be used.
</p>
<p>
Note: Refer for more information on the above mentioned menu buttons to dhtmlxMenu Guide and Code Samples documentation.
</p>
<pre class="code javascript"> <span class="sy0"><</span>div id<span class="sy0">=</span><span class="st0">"treeboxbox_tree"</span> style<span class="sy0">=</span><span class="st0">"width:200;height:200"</span><span class="sy0">></</span>div<span class="sy0">></span>
<span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">function</span> onButtonClick<span class="br0">(</span>menuitemId<span class="sy0">,</span>type<span class="br0">)</span><span class="br0">{</span>
<span class="kw2">var</span> id <span class="sy0">=</span> tree.<span class="me1">contextID</span>;
tree.<span class="me1">setItemColor</span><span class="br0">(</span>id<span class="sy0">,</span>menuitemId.<span class="me1">split</span><span class="br0">(</span><span class="st0">"_"</span><span class="br0">)</span><span class="br0">[</span><span class="nu0">1</span><span class="br0">]</span><span class="br0">)</span>;
<span class="br0">}</span>
<span class="co1">//initialization of the menu</span>
menu <span class="sy0">=</span> <span class="kw2">new</span> dhtmlXMenuObject<span class="br0">(</span><span class="kw2">null</span><span class="sy0">,</span><span class="st0">"standard"</span><span class="br0">)</span>;
menu.<span class="me1">setImagePath</span><span class="br0">(</span><span class="st0">"[full path to this folder]/dhtmlxMenu/codebase/imgs/"</span><span class="br0">)</span>;
menu.<span class="me1">setIconsPath</span><span class="br0">(</span><span class="st0">"[full path to this folder]/images/"</span><span class="br0">)</span>;
menu.<span class="me1">renderAsContextMenu</span><span class="br0">(</span><span class="br0">)</span>;
menu.<span class="me1">setOpenMode</span><span class="br0">(</span><span class="st0">"web"</span><span class="br0">)</span>;
menu.<span class="me1">attachEvent</span><span class="br0">(</span><span class="st0">"onClick"</span><span class="sy0">,</span>onButtonClick<span class="br0">)</span>;
menu.<span class="me1">loadXML</span><span class="br0">(</span><span class="st0">"_context.xml"</span><span class="br0">)</span>;
<span class="co1">//initialization of the tree</span>
tree<span class="sy0">=</span><span class="kw2">new</span> dhtmlXTreeObject<span class="br0">(</span><span class="st0">"treeboxbox_tree"</span><span class="sy0">,</span><span class="st0">"100%"</span><span class="sy0">,</span><span class="st0">"100%"</span><span class="sy0">,</span>0<span class="br0">)</span>;
tree.<span class="me1">setImagePath</span><span class="br0">(</span><span class="st0">"../imgs/"</span><span class="br0">)</span>;
tree.<span class="me1">enableDragAndDrop</span><span class="br0">(</span><span class="kw2">true</span><span class="br0">)</span>;
tree.<span class="me1">enableContextMenu</span><span class="br0">(</span>menu<span class="br0">)</span>;
<span class="co1">//link contextual menu to the tree</span>
tree.<span class="me1">loadXML</span><span class="br0">(</span><span class="st0">"tree.xml"</span><span class="br0">)</span>
tree.<span class="me1">attachEvent</span><span class="br0">(</span><span class="st0">"onBeforeContextMenu"</span><span class="sy0">,</span><span class="kw2">function</span><span class="br0">(</span>itemId<span class="br0">)</span><span class="br0">{</span>
<span class="kw1">if</span> <span class="br0">(</span>tree.<span class="me1">hasChildren</span><span class="br0">(</span>itemId<span class="br0">)</span> <span class="sy0">></span> 0<span class="br0">)</span><span class="br0">{</span>
menu.<span class="me1">hideItem</span><span class="br0">(</span><span class="st0">'outher'</span><span class="br0">)</span>;
<span class="br0">}</span> <span class="kw1">else</span> <span class="br0">{</span>
menu.<span class="me1">showItem</span><span class="br0">(</span><span class="st0">'outher'</span><span class="br0">)</span>;
<span class="br0">}</span>
<span class="kw1">return</span> <span class="kw2">true</span>
<span class="br0">}</span><span class="br0">)</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="1030-2743" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:compatibility_with_other_dhtmlx_components" /><input type="submit" value="Edit" class="button" title="Contextual Menu Based on Item's Properties" /></div></form></div>
<h3><a name="contextual_menu_for_individual_items" id="contextual_menu_for_individual_items">Contextual Menu for Individual Items</a></h3>
<div class="level3">
<p>
If the user wants to set different menus for individual tree items, he should use the following method:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">setItemContextMenu</span><span class="br0">(</span>itemId<span class="sy0">,</span>cMenu<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The parameters here are responsible for:
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of the item the contextual menu will be attached to;</div>
</li>
<li class="level1"><div class="li"> cMenu - contextual menu object that will be attached.</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="2744-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:compatibility_with_other_dhtmlx_components" /><input type="submit" value="Edit" class="button" title="Contextual Menu for Individual Items" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/compatibility_with_other_dhtmlx_components.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:compatibility_with_other_dhtmlx_components" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:compatibility_with_other_dhtmlx_components" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:compatibility_with_other_dhtmlx_components" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Acompatibility_with_other_dhtmlx_components&1279804934" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:compatibility_with_other_dhtmlx_components" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___compatibility_with_other_dhtmlx_components.html | HTML | art | 18,615 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_openallitemsdynamic [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_openallitemsdynamic</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openallitemsdynamic" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openallitemsdynamic" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openallitemsdynamic" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_openallitemsdynamic" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_openallitemsdynamic">api_method_dhtmlxtreeobject_openallitemsdynamic</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="openallitemsdynamic_itemid" id="openallitemsdynamic_itemid">openAllItemsDynamic(itemId)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_xw.js</em>
</p>
<p>
expand target node and all child nodes (same as openAllItems, but works in dynamic trees)
</p>
<ul>
<li class="level1"><div class="li"> itemId - node id, optional</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openallitemsdynamic" /><input type="submit" value="Edit" class="button" title="openAllItemsDynamic(itemId)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_openallitemsdynamic.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openallitemsdynamic" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openallitemsdynamic" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openallitemsdynamic" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_openallitemsdynamic&1279804921" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_openallitemsdynamic" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_openallitemsdynamic.html | HTML | art | 8,386 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_disablecheckbox [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_disablecheckbox</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_disablecheckbox" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_disablecheckbox" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_disablecheckbox" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_disablecheckbox" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_disablecheckbox">api_method_dhtmlxtreeobject_disablecheckbox</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="disablecheckbox_itemid_mode" id="disablecheckbox_itemid_mode">disableCheckbox(itemId,mode)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
disable checkbox
</p>
<ul>
<li class="level1"><div class="li"> itemId - Id of tree item</div>
</li>
<li class="level1"><div class="li"> mode - 1 - on, 0 - off;</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_disablecheckbox" /><input type="submit" value="Edit" class="button" title="disableCheckbox(itemId,mode)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_disablecheckbox.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_disablecheckbox" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_disablecheckbox" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_disablecheckbox" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_disablecheckbox&1279804930" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_disablecheckbox" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_disablecheckbox.html | HTML | art | 8,302 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_loadjson [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_loadjson</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjson" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjson" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjson" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_loadjson" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadjson">api_method_dhtmlxtreeobject_loadjson</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="loadjson_file_aftercall" id="loadjson_file_aftercall">loadJSON(file,afterCall)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_json.js</em>
</p>
<p>
load tree from json file
</p>
<ul>
<li class="level1"><div class="li"> file - link to JSON file</div>
</li>
<li class="level1"><div class="li"> afterCall - function which will be called after xml loading</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjson" /><input type="submit" value="Edit" class="button" title="loadJSON(file,afterCall)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_loadjson.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjson" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjson" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjson" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_loadjson&1279804927" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadjson" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_loadjson.html | HTML | art | 8,230 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_getallchildless [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_getallchildless</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallchildless" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallchildless" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallchildless" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_getallchildless" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_getallchildless">api_method_dhtmlxtreeobject_getallchildless</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="getallchildless" id="getallchildless">getAllChildless()</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
Returns the list of all items which doesn't have child nodes.
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallchildless" /><input type="submit" value="Edit" class="button" title="getAllChildless()" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_getallchildless.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallchildless" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallchildless" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallchildless" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_getallchildless&1279804924" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallchildless" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_getallchildless.html | HTML | art | 8,147 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_attachevent [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_attachevent</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_attachevent" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_attachevent" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_attachevent" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_attachevent" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_attachevent">api_method_dhtmlxtreeobject_attachevent</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="attachevent_evname_evhandler" id="attachevent_evname_evhandler">attachEvent(evName, evHandler)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
adds any user-defined handler to available events
</p>
<ul>
<li class="level1"><div class="li"> evName - name of the event;</div>
</li>
<li class="level2"><div class="li"> evHandler - user-defined event handler.</div>
</li>
</ul>
<pre class="code javascript"> tree.<span class="me1">attachEvent</span><span class="br0">(</span>evName<span class="sy0">,</span> evHandler<span class="br0">)</span>;</pre>
<p>
Several handlers can be attached to one and the same event, and all of them will be executed.
</p>
<p>
Note: the names of the events are case-insensitive.
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_attachevent" /><input type="submit" value="Edit" class="button" title="attachEvent(evName, evHandler)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_attachevent.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_attachevent" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_attachevent" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_attachevent" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_attachevent&1279804930" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_attachevent" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_attachevent.html | HTML | art | 8,664 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_showitemform [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_showitemform</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_showitemform" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_showitemform" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_showitemform" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_showitemform" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_showitemform">api_method_dhtmlxtreeobject_showitemform</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="showitemform_itemid_state" id="showitemform_itemid_state">showItemForm(itemID,state)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_if.js</em>
</p>
<p>
show item's form
</p>
<ul>
<li class="level1"><div class="li"> itemID - item id</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_showitemform" /><input type="submit" value="Edit" class="button" title="showItemForm(itemID,state)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_showitemform.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_showitemform" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_showitemform" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_showitemform" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_showitemform&1279804925" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_showitemform" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_showitemform.html | HTML | art | 8,200 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_refreshitem [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_refreshitem</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitem" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitem" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitem" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_refreshitem" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitem">api_method_dhtmlxtreeobject_refreshitem</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="refreshitem_itemid" id="refreshitem_itemid">refreshItem(itemId)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
refresh tree branch from xml (<acronym title="Extensible Markup Language">XML</acronym> with child nodes rerequested from server)
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of node, if not defined tree super root used.</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitem" /><input type="submit" value="Edit" class="button" title="refreshItem(itemId)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_refreshitem.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitem" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitem" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitem" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_refreshitem&1279804926" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitem" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_refreshitem.html | HTML | art | 8,280 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_enablertl [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_enablertl</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablertl" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablertl" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablertl" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_enablertl" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablertl">api_method_dhtmlxtreeobject_enablertl</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="enablertl_mode" id="enablertl_mode">enableRTL(mode)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_rl.js</em>
</p>
<p>
enables Right-to-Left mode in tree
</p>
<ul>
<li class="level1"><div class="li"> mode - true/false</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablertl" /><input type="submit" value="Edit" class="button" title="enableRTL(mode)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_enablertl.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablertl" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablertl" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablertl" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_enablertl&1279804929" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablertl" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_enablertl.html | HTML | art | 8,124 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:event_onopenend [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:event_onopenend</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onopenend" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_onopenend" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:event_onopenend" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:event_onopenend" class="breadcrumbs" title="dhtmlxtree:event_onopenend">event_onopenend</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div></div>
</p>
<h2><a name="onopenend_event" id="onopenend_event">onOpenEnd Event</a></h2>
<div class="level2">
<p>
This event calls user-defined handlers (if there are any) and passes the following parameters:
</p>
<ul>
<li class="level1"><div class="li"> id - id of the node that will be opened;</div>
</li>
<li class="level1"><div class="li"> state - current open state of the item: 0 - item has no child nodes, -1 - item is closed, 1 - item is opened.</div>
</li>
</ul>
<pre class="code javascript"> tree.<span class="me1">attachEvent</span><span class="br0">(</span><span class="st0">"onOpenEnd"</span><span class="sy0">,</span> <span class="kw2">function</span><span class="br0">(</span>id<span class="sy0">,</span>state<span class="br0">)</span><span class="br0">{</span><span class="br0">}</span><span class="br0">)</span>;
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="54-" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:event_onopenend" /><input type="submit" value="Edit" class="button" title="onOpenEnd Event" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/event_onopenend.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onopenend" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_onopenend" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:event_onopenend" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aevent_onopenend&1279804933" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onopenend" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___event_onopenend.html | HTML | art | 7,997 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_preventiecaching [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_preventiecaching</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_preventiecaching" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_preventiecaching" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_preventiecaching" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_preventiecaching" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_preventiecaching">api_method_dhtmlxtreeobject_preventiecaching</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="preventiecaching_mode" id="preventiecaching_mode">preventIECaching(mode)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
prevent caching in <acronym title="Internet Explorer">IE</acronym> by adding random value to <acronym title="Uniform Resource Locator">URL</acronym> string
</p>
<ul>
<li class="level1"><div class="li"> mode - enable/disable random value ( disabled by default )</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_preventiecaching" /><input type="submit" value="Edit" class="button" title="preventIECaching(mode)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_preventiecaching.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_preventiecaching" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_preventiecaching" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_preventiecaching" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_preventiecaching&1279804926" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_preventiecaching" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_preventiecaching.html | HTML | art | 8,395 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_setitemcloseable [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_setitemcloseable</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcloseable" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcloseable" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcloseable" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_setitemcloseable" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcloseable">api_method_dhtmlxtreeobject_setitemcloseable</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="setitemcloseable_itemid_flag" id="setitemcloseable_itemid_flag">setItemCloseable(itemId,flag)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
prevent node from closing
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of node</div>
</li>
<li class="level1"><div class="li"> flag - if 0 - node can't be closed, else node can be closed</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcloseable" /><input type="submit" value="Edit" class="button" title="setItemCloseable(itemId,flag)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_setitemcloseable.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcloseable" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcloseable" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcloseable" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_setitemcloseable&1279804920" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcloseable" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_setitemcloseable.html | HTML | art | 8,367 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_setchildcalchtml [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_setchildcalchtml</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setchildcalchtml" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setchildcalchtml" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setchildcalchtml" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_setchildcalchtml" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_setchildcalchtml">api_method_dhtmlxtreeobject_setchildcalchtml</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="setchildcalchtml_htmla_htmlb" id="setchildcalchtml_htmla_htmlb">setChildCalcHTML( htmlA,htmlB )</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
set children calculation prefix and postfix
</p>
<ul>
<li class="level1"><div class="li"> htmlA - postfix ([ - by default)</div>
</li>
<li class="level1"><div class="li"> htmlB - postfix (] - by default)</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setchildcalchtml" /><input type="submit" value="Edit" class="button" title="setChildCalcHTML( htmlA,htmlB )" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_setchildcalchtml.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setchildcalchtml" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setchildcalchtml" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setchildcalchtml" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_setchildcalchtml&1279804929" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setchildcalchtml" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_setchildcalchtml.html | HTML | art | 8,391 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_toc_categories [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_toc_categories</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_categories" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_categories" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_categories" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_toc_categories" class="breadcrumbs" title="dhtmlxtree:api_toc_categories">api_toc_categories</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<!-- TOC START -->
<div class="toc">
<div class="tocheader toctoggle" id="toc__header">Table of Contents</div>
<div id="toc__inside">
<ul class="toc">
<li class="clear">
<ul class="toc">
<li class="clear">
<ul class="toc">
<li class="level3"><div class="li"><span class="li"><a href="#appearance" class="toc">Appearance</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#checkboxes" class="toc">Checkboxes</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#configuration" class="toc">Configuration</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#cookies" class="toc">Cookies</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#data_loading" class="toc">Data Loading</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#drag-and-drop" class="toc">Drag-and-Drop</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#get-methods" class="toc">Get-methods</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#items_manipulation" class="toc">Items manipulation</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#selection_sorting_navigation" class="toc">Selection, Sorting, Navigation</a></span></div></li></ul>
</li></ul>
</li></ul>
</div>
</div>
<!-- TOC END -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href="index.html" class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><span class="curid"><a href="dhtmlxtree___api_toc_categories.html" class="wikilink1" title="dhtmlxtree:api_toc_categories"> Appearance </a></span></div></div>
</p>
<h3><a name="appearance" id="appearance">Appearance</a></h3>
<div class="level3">
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablehighlighting.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablehighlighting">enableHighlighting</a> enables item highlighting (item text highlited on mouseover)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableieimagefix.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableieimagefix">enableIEImageFix</a> replaces IMG tag with background images - solve problem with <acronym title="Internet Explorer">IE</acronym> image caching , not works for <acronym title="Internet Explorer 6">IE6</acronym> SP1
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableloadingitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableloadingitem">enableLoadingItem</a> enables/disables “Loading…” item
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablemultilineitems.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultilineitems">enableMultiLineItems</a> enables multi line items
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enabletextsigns.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabletextsigns">enableTextSigns</a> replaces images with text signs
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enabletreeimages.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabletreeimages">enableTreeImages</a> enables tree images
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enabletreelines.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabletreelines">enableTreeLines</a> enables/disables tree lines (parent-child threads)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_seticonsize.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_seticonsize">setIconSize</a> sets size of icons
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setitemcolor.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcolor">setItemColor</a> sets node text color
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setitemimage.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemimage">setItemImage</a> sets item icons (mostly usefull for childless nodes)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setitemimage2.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemimage2">setItemImage2</a> sets item images
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setitemstyle.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemstyle">setItemStyle</a> sets individual item style
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setitemtopoffset.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemtopoffset">setItemTopOffset</a> sets top offset for item
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setlockedicons.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setlockedicons">setLockedIcons</a> sets icon for locked items
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_showitemsign.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_showitemsign">showItemSign</a> shows/hides (+/-) icon (works only for individual items, not for entire tree )
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="85-1662" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_categories" /><input type="submit" value="Edit" class="button" title="Appearance" /></div></form></div>
<h3><a name="checkboxes" id="checkboxes">Checkboxes</a></h3>
<div class="level3">
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_disablecheckbox.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_disablecheckbox">disableCheckbox</a> disables checkbox
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablecheckboxes.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablecheckboxes">enableCheckBoxes</a> shows/hides checkboxes (all checkboxes in tree)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableradiobuttons.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableradiobuttons">enableRadioButtons</a> replaces checkboxes with radio buttons
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablesingleradiomode.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablesingleradiomode">enableSingleRadioMode</a> replaces checkboxes with radio buttons
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablesmartcheckboxes.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablesmartcheckboxes">enableSmartCheckboxes</a> enables smart checkboxes ,true by default (auto checking children and parents for 3-state checkboxes)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablethreestatecheckboxes.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablethreestatecheckboxes">enableThreeStateCheckboxes</a> enables three state checkboxes
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setcheck.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setcheck">setCheck</a> sets state of node's checkbox
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setsubchecked.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setsubchecked">setSubChecked</a> changes state of node's checkbox and all children checkboxes
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_showitemcheckbox.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_showitemcheckbox">showItemCheckbox</a> shows/hides checkbox for tree item (works only for individual items, not for entire tree )
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="1663-2765" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_categories" /><input type="submit" value="Edit" class="button" title="Checkboxes" /></div></form></div>
<h3><a name="configuration" id="configuration">Configuration</a></h3>
<div class="level3">
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_attachevent.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_attachevent">attachEvent</a> adds any user-defined handler to available events
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_destructor.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_destructor">destructor</a> deletes tree and clears memory
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_detachevent.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_detachevent">detachEvent</a> removes an event handler
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableactiveimages.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableactiveimages">enableActiveImages</a> enables active images (clickable and dragable). By default only text part of the node is active
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableautotooltips.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableautotooltips">enableAutoTooltips</a> enables auto tooltips (node text as tooltip)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablecontextmenu.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablecontextmenu">enableContextMenu</a> enables context menu
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablertl.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablertl">enableRTL</a> enables Right-to-Left mode in tree
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_locktree.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_locktree">lockTree</a> locks tree
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setchildcalchtml.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setchildcalchtml">setChildCalcHTML</a> sets children calculation prefix and postfix
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setchildcalcmode.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setchildcalcmode">setChildCalcMode</a> sets children calculation mode
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_seteditstartaction.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_seteditstartaction">setEditStartAction</a> defines which events must start editing
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setescapingmode.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setescapingmode">setEscapingMode</a> sets escaping mode (used for escaping ID in requests)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_seticonpath.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_seticonpath">setIconPath</a> sets path to external images used as tree icons
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setimagearrays.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setimagearrays">setImageArrays</a> sets images used for parent-child threads drawing (lines, plus, minus)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setimagepath.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setimagepath">setImagePath</a> sets path to images directory
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setitemcontextmenu.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcontextmenu">setItemContextMenu</a> sets context menu to individual nodes
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setlistdelimeter.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setlistdelimeter">setListDelimeter</a> sets list separator (”,” by default)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setondblclickhandler.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setondblclickhandler">setOnDblClickHandler</a> sets function called when tree node double clicked
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setstdimages.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setstdimages">setStdImages</a> sets default images for nodes (must be called before <acronym title="Extensible Markup Language">XML</acronym> loading)
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="2766-4819" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_categories" /><input type="submit" value="Edit" class="button" title="Configuration" /></div></form></div>
<h3><a name="cookies" id="cookies">Cookies</a></h3>
<div class="level3">
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableautosavingselected.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableautosavingselected">enableAutoSavingSelected</a> enables/disables autosaving selected node in cookie
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_restoreselecteditem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_restoreselecteditem">restoreSelectedItem</a> restores selected item from cookie
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_saveopenstates.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_saveopenstates">saveOpenStates</a> saves open nodes to cookie
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_saveselecteditem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_saveselecteditem">saveSelectedItem</a> saves selected item to cookie
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_savestate.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_savestate">saveState</a> saves tree to cookie
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="4820-5340" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_categories" /><input type="submit" value="Edit" class="button" title="Cookies" /></div></form></div>
<h3><a name="data_loading" id="data_loading">Data Loading</a></h3>
<div class="level3">
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_defineitemform.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_defineitemform">defineItemForm</a> assigns custom form to tree
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enabledistributedparsing.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabledistributedparsing">enableDistributedParsing</a> enables distributed parsing of big tree (items loaded portion by portion with some timeouts)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableloadingitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableloadingitem">enableLoadingItem</a> enables/disables “Loading…” item
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablesmartrendering.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablesmartrendering">enableSmartRendering</a> enables smart rendering mode (usefull for big trees with lots f items on each level)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablesmartxmlparsing.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablesmartxmlparsing">enableSmartXMLParsing</a> enables/disables smart <acronym title="Extensible Markup Language">XML</acronym> parsing mode (usefull for big, well structured <acronym title="Extensible Markup Language">XML</acronym>)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_hideitemform.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_hideitemform">hideItemForm</a> hides item's form
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_loadcsv.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadcsv">loadCSV</a> loads tree from csv file|stream
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_loadcsvstring.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadcsvstring">loadCSVString</a> loads tree from csv string
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_loadjsarray.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarray">loadJSArray</a> loads tree from js array object
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_loadjsarrayfile.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsarrayfile">loadJSArrayFile</a> loads tree from js array file|stream
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_loadjson.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadjson">loadJSON</a> loads tree from json file
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_loadjsonobject.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadjsonobject">loadJSONObject</a> loads tree from json object
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_loadopenstates.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadopenstates">loadOpenStates</a> restores open nodes from cookie
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_loadstate.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadstate">loadState</a> loads tree from cookie
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_loadxml.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadxml">loadXML</a> loads tree from xml file
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_loadxmlstring.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadxmlstring">loadXMLString</a> loads tree from xml string
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_preventiecaching.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_preventiecaching">preventIECaching</a> prevents caching in <acronym title="Internet Explorer">IE</acronym> by adding random value to <acronym title="Uniform Resource Locator">URL</acronym> string
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_refreshitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitem">refreshItem</a> refreshes tree branch from xml (<acronym title="Extensible Markup Language">XML</acronym> with child nodes rerequested from server)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_refreshitems.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_refreshitems">refreshItems</a> refreshes specified tree nodes (get <acronym title="Extensible Markup Language">XML</acronym> from server and updat only nodes included in itemIdList)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_registerxmlentity.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_registerxmlentity">registerXMLEntity</a> registers <acronym title="Extensible Markup Language">XML</acronym> entity for replacement while initialization (default are: ampersand, lessthen and greaterthen symbols)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setdatamode.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setdatamode">setDataMode</a> sets default data transfer mode
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setxmlautoloading.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setxmlautoloading">setXMLAutoLoading</a> enables dynamic loading from <acronym title="Extensible Markup Language">XML</acronym>
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setxmlautoloadingbehaviour.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setxmlautoloadingbehaviour">setXMLAutoLoadingBehaviour</a> defines which script be called on dynamic loading
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_smartrefreshbranch.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_smartrefreshbranch">smartRefreshBranch</a> refreshes specified tree branch (get <acronym title="Extensible Markup Language">XML</acronym> from server, add new nodes, remove not used nodes)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_smartrefreshitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_smartrefreshitem">smartRefreshItem</a> refreshes specified tree item (get <acronym title="Extensible Markup Language">XML</acronym> from server, add new nodes, remove not used nodes)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setformappearon.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setformappearon">setFormAppearOn</a> defines events for form appearing
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setformdisappearon.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setformdisappearon">setFormDisappearOn</a> defines events for form disappearing
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setonformdismissal.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setonformdismissal">setOnFormDismissal</a> allows to set user routine which will be called right before form disappears
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setonforminitialisation.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setonforminitialisation">setOnFormInitialisation</a> allows setting user routine which will be called immideatly before form appears
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setuserdata.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setuserdata">setUserData</a> sets user data for target node
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_showitemform.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_showitemform">showItemForm</a> shows item's form
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_serializetree.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_serializetree">serializeTree</a> gets xml representation (as string) of tree
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_serializetreetojson.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_serializetreetojson">serializeTreeToJSON</a> returns tree as json string
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setserializationlevel.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setserializationlevel">setSerializationLevel</a> configures <acronym title="Extensible Markup Language">XML</acronym> serialization
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="5341-9234" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_categories" /><input type="submit" value="Edit" class="button" title="Data Loading" /></div></form></div>
<h3><a name="drag-and-drop" id="drag-and-drop">Drag-and-Drop</a></h3>
<div class="level3">
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enabledraganddrop.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabledraganddrop">enableDragAndDrop</a> enables/disables drag-and-drop
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enabledraganddropscrolling.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabledraganddropscrolling">enableDragAndDropScrolling</a> enables/disables auto scrolling while drag-and-drop
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableimagedrag.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableimagedrag">enableImageDrag</a> enables draging item image with item text
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablemercydrag.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablemercydrag">enableMercyDrag</a> enables drag without removing (copy instead of move)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_makealldraggable.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_makealldraggable">makeAllDraggable</a> adds drag-n-drop capabilities (with possibility to drop into dhtmlxTree) to all <acronym title="HyperText Markup Language">HTML</acronym> items with dragInDhtmlXTree attribute
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_makedraggable.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_makedraggable">makeDraggable</a> adds drag-n-drop capabilities (with possibility to drop into dhtmlxTree) to <acronym title="HyperText Markup Language">HTML</acronym> object.
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_moveitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_moveitem">moveItem</a> moves item (inside of tree)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setdragbehavior.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setdragbehavior">setDragBehavior</a> sets Drag-And-Drop behavior (child - drop as chils, sibling - drop as sibling, complex - complex drop behaviour )
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="9235-10320" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_categories" /><input type="submit" value="Edit" class="button" title="Drag-and-Drop" /></div></form></div>
<h3><a name="get-methods" id="get-methods">Get-methods</a></h3>
<div class="level3">
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getallchecked.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getallchecked">getAllChecked</a> returns list of identificators of nodes with checked checkboxes, separated by default delimiter
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getallcheckedbranches.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getallcheckedbranches">getAllCheckedBranches</a> returns list of identificators of nodes with checked and third state checkboxes, separated by default delimiter
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getallchildless.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getallchildless">getAllChildless</a> returns the list of all items which doesn't have child nodes.
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getallitemswithkids.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getallitemswithkids">getAllItemsWithKids</a> returns the list of all items which have child nodes, separated by default delimiter.
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getallpartiallychecked.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getallpartiallychecked">getAllPartiallyChecked</a> returns list of identificators of nodes with third state checkboxes, separated by default delimiter
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getallsubitems.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getallsubitems">getAllSubItems</a> returns the list of all children from all next levels of tree, separated by default delimiter.
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getallunchecked.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getallunchecked">getAllUnchecked</a> returns list of identificators of nodes with unchecked checkboxes, separated by default delimiter
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getchilditemidbyindex.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getchilditemidbyindex">getChildItemIdByIndex</a> returns child node id by index
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getdistributedparsingstate.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getdistributedparsingstate">getDistributedParsingState</a> gets current state of distributed parsing
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getindexbyid.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getindexbyid">getIndexById</a> returns node index in children collection by Id
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getitemcolor.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getitemcolor">getItemColor</a> gets node color (text color)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getitemidbyindex.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getitemidbyindex">getItemIdByIndex</a> returns node id by index
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getitemimage.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getitemimage">getItemImage</a> gets url of item image
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getitemparsingstate.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getitemparsingstate">getItemParsingState</a> gets current parsing state of item
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getitemtext.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getitemtext">getItemText</a> returns node text
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getitemtooltip.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getitemtooltip">getItemTooltip</a> gets item's tooltip
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getlevel.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getlevel">getLevel</a> gets node level (position in hierarchy)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getopenstate.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getopenstate">getOpenState</a> returns open/close state
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getparentid.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getparentid">getParentId</a> returns parent item id
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getselecteditemid.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getselecteditemid">getSelectedItemId</a> returns selected item id
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getselecteditemtext.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getselecteditemtext">getSelectedItemText</a> returns selected node text
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getsubitems.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getsubitems">getSubItems</a> returns the list of all subitems Ids from the next level of tree, separated by commas.
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getuserdata.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getuserdata">getUserData</a> gets user data from target node
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_getxmlstate.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_getxmlstate">getXMLState</a> returns current state of <acronym title="Extensible Markup Language">XML</acronym> loading
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_haschildren.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_haschildren">hasChildren</a> returns number of children
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="10321-13206" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_categories" /><input type="submit" value="Edit" class="button" title="Get-methods" /></div></form></div>
<h3><a name="items_manipulation" id="items_manipulation">Items manipulation</a></h3>
<div class="level3">
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_changeitemid.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_changeitemid">changeItemId</a> changes item id
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_clearcut.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_clearcut">clearCut</a> clears cut
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_closeallitems.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_closeallitems">closeAllItems</a> collapses target node and all sub nodes
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_closeitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_closeitem">closeItem</a> collapses node
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_deletechilditems.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_deletechilditems">deleteChildItems</a> deletes all children of node
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_deleteitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_deleteitem">deleteItem</a> deletes node
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_docut.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_docut">doCut</a> marks selected item as cut
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_dopaste.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_dopaste">doPaste</a> inserts previously cut branch
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_edititem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_edititem">editItem</a> opens editor for specified item
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableitemeditor.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableitemeditor">enableItemEditor</a> enables editing of item text
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_insertnewchild.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewchild">insertNewChild</a> creates new node as a child to specified with parentId
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_insertnewnext.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewnext">insertNewNext</a> creates new node next to specified
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_isitemchecked.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_isitemchecked">isItemChecked</a> gets state of nodes's checkbox
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_islocked.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_islocked">isLocked</a> gets locked state of item
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_lockitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_lockitem">lockItem</a> locks/unlocks item
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_openallitems.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_openallitems">openAllItems</a> expands target node and all sub nodes
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_openallitemsdynamic.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_openallitemsdynamic">openAllItemsDynamic</a> expands target node and all child nodes (same as openAllItems, but works in dynamic trees)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_openitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_openitem">openItem</a> expands node
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_openitemsdynamic.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_openitemsdynamic">openItemsDynamic</a> expands list of nodes in dynamic tree (wait of loading of node before expanding next)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_openonitemadded.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_openonitemadded">openOnItemAdded</a> configures if parent node will be expanded immideatly after child item added
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setcheck.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setcheck">setCheck</a> sets state of node's checkbox
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setitemcloseable.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemcloseable">setItemCloseable</a> prevents node from closing
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setitemtext.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setitemtext">setItemText</a> sets new node text (<acronym title="HyperText Markup Language">HTML</acronym> allowed)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_stopedit.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_stopedit">stopEdit</a> switches currently edited item back to normal view
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_updateitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_updateitem">updateItem</a> updates item properties
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="13207-15554" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_categories" /><input type="submit" value="Edit" class="button" title="Items manipulation" /></div></form></div>
<h3><a name="selection_sorting_navigation" id="selection_sorting_navigation">Selection, Sorting, Navigation</a></h3>
<div class="level3">
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_assignkeys.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_assignkeys">assignKeys</a> configures keys used for keyboard navigation
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_clearselection.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_clearselection">clearSelection</a> unselects item in tree
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablekeyboardnavigation.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablekeyboardnavigation">enableKeyboardNavigation</a> enables keyboard navigation in tree
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablekeysearch.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablekeysearch">enableKeySearch</a> enables search items by pressing keys (any item in tree should be focused/selected to make search work)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_finditem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_finditem">findItem</a> finds tree item by text, select and focus it
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_finditemidbylabel.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_finditemidbylabel">findItemIdByLabel</a> finds tree item by text
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablemultiselection.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultiselection">enableMultiselection</a> enables multiselection
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_focusitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_focusitem">focusItem</a> focuses item in tree (scroll to it if necessary)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_selectitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_selectitem">selectItem</a> selects node ( and optionaly fire onselect event)
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_setcustomsortfunction.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_setcustomsortfunction">setCustomSortFunction</a> sets custom sort functions, which has two parametrs - id_of_item1,id_of_item2
</p>
<p>
<a href="dhtmlxtree___api_method_dhtmlxtreeobject_sorttree.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_sorttree">sortTree</a> reorders items in tree according to their text
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="15555-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_categories" /><input type="submit" value="Edit" class="button" title="Selection, Sorting, Navigation" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_toc_categories.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_categories" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_categories" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_categories" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_toc_categories&1279804919" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_toc_categories" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_toc_categories.html | HTML | art | 48,380 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_islocked [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_islocked</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_islocked" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_islocked" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_islocked" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_islocked" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_islocked">api_method_dhtmlxtreeobject_islocked</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="islocked_itemid" id="islocked_itemid">isLocked(itemId)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_li.js</em>
</p>
<p>
get locked state of item
</p>
<ul>
<li class="level1"><div class="li"> itemId - id of item</div>
</li>
</ul>
<p>
Returns true/false - locked/unlocked
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_islocked" /><input type="submit" value="Edit" class="button" title="isLocked(itemId)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_islocked.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_islocked" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_islocked" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_islocked" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_islocked&1279804921" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_islocked" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_islocked.html | HTML | art | 8,152 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_deletechilditems [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_deletechilditems</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_deletechilditems" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_deletechilditems" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_deletechilditems" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_deletechilditems" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_deletechilditems">api_method_dhtmlxtreeobject_deletechilditems</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="deletechilditems_itemid" id="deletechilditems_itemid">deleteChildItems(itemId)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
delete all children of node
</p>
<ul>
<li class="level1"><div class="li"> itemId - node id</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_deletechilditems" /><input type="submit" value="Edit" class="button" title="deleteChildItems(itemId)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_deletechilditems.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_deletechilditems" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_deletechilditems" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_deletechilditems" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_deletechilditems&1279804922" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_deletechilditems" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_deletechilditems.html | HTML | art | 8,232 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_loadopenstates [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_loadopenstates</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadopenstates" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadopenstates" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadopenstates" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_loadopenstates" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_loadopenstates">api_method_dhtmlxtreeobject_loadopenstates</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="loadopenstates_name" id="loadopenstates_name">loadOpenStates(name)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_xw.js</em>
</p>
<p>
restore open nodes from cookie
</p>
<ul>
<li class="level1"><div class="li"> name - optional,cookie name</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadopenstates" /><input type="submit" value="Edit" class="button" title="loadOpenStates(name)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_loadopenstates.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadopenstates" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadopenstates" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadopenstates" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_loadopenstates&1279804927" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_loadopenstates" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_loadopenstates.html | HTML | art | 8,225 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_sorttree [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_sorttree</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_sorttree" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_sorttree" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_sorttree" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_sorttree" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_sorttree">api_method_dhtmlxtreeobject_sorttree</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="sorttree_nodeid_order_all_levels" id="sorttree_nodeid_order_all_levels">sortTree(nodeId,order,all_levels)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_sb.js</em>
</p>
<p>
reorder items in tree according to their text
</p>
<ul>
<li class="level1"><div class="li"> nodeId - id of node to start sorting from</div>
</li>
<li class="level1"><div class="li"> all_levels - sorting all levels or only current level</div>
</li>
<li class="level1"><div class="li"> order - sorting order - ASC or DES</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_sorttree" /><input type="submit" value="Edit" class="button" title="sortTree(nodeId,order,all_levels)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_sorttree.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_sorttree" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_sorttree" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_sorttree" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_sorttree&1279804919" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_sorttree" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_sorttree.html | HTML | art | 8,401 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_enablemultiselection [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_enablemultiselection</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultiselection" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultiselection" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultiselection" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_enablemultiselection" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultiselection">api_method_dhtmlxtreeobject_enablemultiselection</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="enablemultiselection_mode_strict" id="enablemultiselection_mode_strict">enableMultiselection(mode,strict)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
enable multiselection
</p>
<ul>
<li class="level1"><div class="li"> mode - 1 - on, 0 - off;</div>
</li>
<li class="level1"><div class="li"> strict - 1 - on, 0 - off; in strict mode only items on the same level can be selected</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultiselection" /><input type="submit" value="Edit" class="button" title="enableMultiselection(mode,strict)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_enablemultiselection.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultiselection" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultiselection" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultiselection" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_enablemultiselection&1279804920" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultiselection" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_enablemultiselection.html | HTML | art | 8,485 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:increasing_tree_s_performance [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:increasing_tree_s_performance</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:increasing_tree_s_performance" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:increasing_tree_s_performance" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:increasing_tree_s_performance" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:increasing_tree_s_performance" class="breadcrumbs" title="dhtmlxtree:increasing_tree_s_performance">increasing_tree_s_performance</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<!-- TOC START -->
<div class="toc">
<div class="tocheader toctoggle" id="toc__header">Table of Contents</div>
<div id="toc__inside">
<ul class="toc">
<li class="clear">
<ul class="toc">
<li class="level2"><div class="li"><span class="li"><a href="#increasing_tree_s_performance" class="toc">Increasing Tree's Performance</a></span></div>
<ul class="toc">
<li class="level3"><div class="li"><span class="li"><a href="#dynamical_loading" class="toc">Dynamical Loading</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#smart_xml_parsing" class="toc">Smart XML Parsing</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#distributed_parsing" class="toc">Distributed Parsing</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#smart_rendering" class="toc">Smart Rendering</a></span></div></li></ul>
</li></ul>
</li></ul>
</div>
</div>
<!-- TOC END -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href="index.html" class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div></div>
</p>
<h2><a name="increasing_tree_s_performance" id="increasing_tree_s_performance">Increasing Tree's Performance</a></h2>
<div class="level2">
<p>
The following ways of increasing performance were introduced in dhtmlxTree (when working with huge data sets):
</p>
<ul>
<li class="level1"><div class="li"> Dynamical Loading;</div>
</li>
<li class="level1"><div class="li"> Smart <acronym title="Extensible Markup Language">XML</acronym> Parsing;</div>
</li>
<li class="level1"><div class="li"> Distributed Parsing;</div>
</li>
<li class="level1"><div class="li"> Smart Rendering.</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="53-306" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:increasing_tree_s_performance" /><input type="submit" value="Edit" class="button" title="Increasing Tree's Performance" /></div></form></div>
<h3><a name="dynamical_loading" id="dynamical_loading">Dynamical Loading</a></h3>
<div class="level3">
<p>
In case the tree contains large amount of nodes (or the user doesn't want to waste time on loading hidden nodes), it would be better to load them on request, not all at once. The functionality to load tree levels dynamically using <acronym title="Extensible Markup Language">XML</acronym> was introduced for this purpose. Dynamical loading of items from <acronym title="Extensible Markup Language">XML</acronym> stream gives the possibility to create <acronym title="Dynamic HyperText Markup Language">DHTML</acronym> trees with unlimited number of nodes.
</p>
</div>
<h4><a name="activating_dynamical_loading" id="activating_dynamical_loading">Activating Dynamical Loading</a></h4>
<div class="level4">
<p>
First, in <acronym title="Extensible Markup Language">XML</acronym> the user should indicate the nodes that will be loaded dynamically this way: add the parameter child=“1” to all nodes that have child items. The items containing this parameter will be objects for dynamical loading.
</p>
<pre class="code javascript"> <span class="sy0"><?</span>xml version<span class="sy0">=</span><span class="st0">"1.0"</span> encoding<span class="sy0">=</span><span class="st0">"iso-8859-1"</span> <span class="sy0">?></span>
<span class="sy0"><</span>tree id<span class="sy0">=</span><span class="st0">"0"</span><span class="sy0">></span>
<span class="sy0"><</span>item text<span class="sy0">=</span><span class="st0">"Surveillance"</span> id<span class="sy0">=</span><span class="st0">"a1"</span> im0<span class="sy0">=</span><span class="st0">"book.gif"</span> … child<span class="sy0">=</span><span class="st0">"1"</span><span class="sy0">/></span>
<span class="sy0"><</span>item …<span class="sy0">/></span>
…
<span class="sy0"></</span>tree<span class="sy0">></span>
</pre>
<p>
The method setXMLAutoLoading() switches the dynamical loading on in the tree:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">setXMLAutoLoading</span><span class="br0">(</span>url<span class="br0">)</span>;
tree.<span class="me1">loadXML</span><span class="br0">(</span>file<span class="br0">)</span>; <span class="co1">// load the first level of the tree</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The above mentioned snippet is useful in case of a tree with large amount of data. The system will first load the data indicated by loadXML() method. The script specified in setXMLAutoLoading() method will be called when the user clicks the tree to expand any of the parent nodes (which child nodes were not loaded). The script will get the id of the node to open, and return the <acronym title="Extensible Markup Language">XML</acronym> with description of the child items.
</p>
<p>
It should be noted that when the tree is switched on dynamical loading, script methods work only for those items that are loaded at the moment.
</p>
</div>
<h4><a name="setting_auto_loading_behavior" id="setting_auto_loading_behavior">Setting Auto Loading Behavior</a></h4>
<div class="level4">
<p>
The following method is responsible for specifying the way server side <acronym title="Uniform Resource Locator">URL</acronym> is constructed during dynamical loading calls:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">setXMLAutoLoadingBehaviour</span><span class="br0">(</span>mode<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The following modes variants are available here:
</p>
<ul>
<li class="level1"><div class="li"> id - some_script?id=[item_id]</div>
</li>
<li class="level1"><div class="li"> name - some_script[item_id]</div>
</li>
<li class="level1"><div class="li"> xmlname - some_script[item_id].xml</div>
</li>
<li class="level1"><div class="li"> function - is used for calling user-defined handler that should be set as the first parameter of setXMLAutoLoading() method.</div>
</li>
</ul>
</div>
<h4><a name="setting_escaping_mode" id="setting_escaping_mode">Setting Escaping Mode</a></h4>
<div class="level4">
<p>
Mode setEscapingMode() is responsible for setting escaping mode (used for escaping id in requests). This method sets the mode for transferring itree item information to the server:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">setEscapingMode</span><span class="br0">(</span>mode<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The following modes are available:
</p>
<ul>
<li class="level1"><div class="li"> default - uses native escape functionality of the browser;</div>
</li>
<li class="level1"><div class="li"> utf8 - is used for UTF escaping;</div>
</li>
<li class="level1"><div class="li"> none - data is not escaped.</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="307-3069" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:increasing_tree_s_performance" /><input type="submit" value="Edit" class="button" title="Dynamical Loading" /></div></form></div>
<h3><a name="smart_xml_parsing" id="smart_xml_parsing">Smart XML Parsing</a></h3>
<div class="level3">
<p>
The idea of Smart <acronym title="Extensible Markup Language">XML</acronym> Parsing is simple: the entire tree structure is loaded on the client side, but only nodes that should be displayed are rendered. This helps to decrease loading time
and general performance of large trees greatly. Plus, the entire tree structure is available for most of script methods (for example, searching is performed against all nodes, not only rendered ones).
</p>
</div>
<h4><a name="activating_smart_xml_parsing" id="activating_smart_xml_parsing">Activating Smart XML Parsing</a></h4>
<div class="level4">
<p>
To activate Smart <acronym title="Extensible Markup Language">XML</acronym> Parsing, the user should apply the following method:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">enableSmartXMLParsing</span><span class="br0">(</span><span class="kw2">true</span><span class="br0">)</span>; <span class="co1">// false is used to disable</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
Please, pay your attention to the fact that Smart <acronym title="Extensible Markup Language">XML</acronym> Parsing does not work in case of loading fully expanded tree.
</p>
</div>
<h4><a name="getting_parsing_state" id="getting_parsing_state">Getting Parsing State</a></h4>
<div class="level4">
<p>
Parsing state can be got using getItemParsingState() method which takes item id as parameter:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> state <span class="sy0">=</span> tree.<span class="me1">getItemParsingState</span><span class="br0">(</span>itemId<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The method returns:
</p>
<ul>
<li class="level1"><div class="li"> 1 - item is already parsed;</div>
</li>
<li class="level1"><div class="li"> 0 - item is not parsed yet;</div>
</li>
<li class="level1"><div class="li"> -1 - item's parsing is in process.</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="3070-4215" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:increasing_tree_s_performance" /><input type="submit" value="Edit" class="button" title="Smart XML Parsing" /></div></form></div>
<h3><a name="distributed_parsing" id="distributed_parsing">Distributed Parsing</a></h3>
<div class="level3">
<p>
Another way to increase performance of the tree with some levels containing more than 100-200 nodes per level was introduced. This functionality is called Distributed Parsing. The main
advantage of it lies in making the level visible and ready to use before it is completely parsed. Thus, items are loaded portion by portion with some timeouts.
</p>
</div>
<h4><a name="activating_distributed_parsing" id="activating_distributed_parsing">Activating Distributed Parsing</a></h4>
<div class="level4">
<p>
To enable this functionality, the user should make use of the following <acronym title="JavaScript">JS</acronym> command:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">enableDistributedParsing</span><span class="br0">(</span>mode<span class="sy0">,</span>count<span class="sy0">,</span>delay<span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
Parameters of this method are:
</p>
<ul>
<li class="level1"><div class="li"> mode - true|false meaning enable|disable Distributed Parsing;</div>
</li>
<li class="level1"><div class="li"> count - number of nodes per portion (optional parameter);</div>
</li>
<li class="level1"><div class="li"> delay - delay between portions parsing, set in milliseconds (optional parameter).</div>
</li>
</ul>
<p>
This functionaity is fully compatible with Smart <acronym title="Extensible Markup Language">XML</acronym> Parsing.
</p>
</div>
<h4><a name="getting_parsing_state1" id="getting_parsing_state1">Getting Parsing State</a></h4>
<div class="level4">
<p>
Current state of Distributed Parsing can be easily got in the following way:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
<span class="kw2">var</span> state <span class="sy0">=</span> tree.<span class="me1">getDistributedParsingState</span><span class="br0">(</span><span class="br0">)</span>; <span class="co1">// returns true|false</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
This method returns either true (meaning that parsing is still in process) or false (meaning that parsing is already finished).
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="4216-5515" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:increasing_tree_s_performance" /><input type="submit" value="Edit" class="button" title="Distributed Parsing" /></div></form></div>
<h3><a name="smart_rendering" id="smart_rendering">Smart Rendering</a></h3>
<div class="level3">
<p>
In case the tree contains a lot of items per level (for instance, 500 and more), the user can increase overall performance using Smart Rendering mode. This mode allows loading big, not
well-formed trees. There is no need for any changes in data structure to switch this mode on. It's just enableSmartRendering() method that should be used before loading data in tree:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">enableSmartRendering</span><span class="br0">(</span><span class="kw2">true</span><span class="br0">)</span>; <span class="co1">// false is used to switch the mode off</span>
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
<p>
The important thing that should be taken into account is that this mode is incompatible with Distributed Parsing and Three-state checkboxes.
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="5516-" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:increasing_tree_s_performance" /><input type="submit" value="Edit" class="button" title="Smart Rendering" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/increasing_tree_s_performance.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:increasing_tree_s_performance" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:increasing_tree_s_performance" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:increasing_tree_s_performance" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aincreasing_tree_s_performance&1279804934" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:increasing_tree_s_performance" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___increasing_tree_s_performance.html | HTML | art | 21,777 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_setdragbehavior [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_setdragbehavior</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setdragbehavior" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setdragbehavior" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setdragbehavior" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_setdragbehavior" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_setdragbehavior">api_method_dhtmlxtreeobject_setdragbehavior</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="setdragbehavior_mode_select" id="setdragbehavior_mode_select">setDragBehavior(mode,select)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
set Drag-And-Drop behavior (child - drop as chils, sibling - drop as sibling, complex - complex drop behaviour )
</p>
<ul>
<li class="level1"><div class="li"> mode - behavior name (child,sibling,complex)</div>
</li>
<li class="level1"><div class="li"> select - select droped node after drag-n-drop, true by default</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setdragbehavior" /><input type="submit" value="Edit" class="button" title="setDragBehavior(mode,select)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_setdragbehavior.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setdragbehavior" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setdragbehavior" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setdragbehavior" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_setdragbehavior&1279804924" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setdragbehavior" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_setdragbehavior.html | HTML | art | 8,479 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:event_onxle [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:event_onxle</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onxle" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_onxle" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:event_onxle" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:event_onxle" class="breadcrumbs" title="dhtmlxtree:event_onxle">event_onxle</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div></div>
</p>
<h2><a name="onxle_event" id="onxle_event">onXLE Event</a></h2>
<div class="level2">
<p>
This event calls user-defined handlers (if there are any) and passes the following parameters:
</p>
<ul>
<li class="level1"><div class="li"> tree - tree object;</div>
</li>
<li class="level1"><div class="li"> id - id of the last parsed item.</div>
</li>
</ul>
<pre class="code javascript"> tree.<span class="me1">attachEvent</span><span class="br0">(</span><span class="st0">"onXLE"</span><span class="sy0">,</span> <span class="kw2">function</span><span class="br0">(</span>tree<span class="sy0">,</span>id<span class="br0">)</span><span class="br0">{</span><span class="br0">}</span><span class="br0">)</span>;
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="53-" /><input type="hidden" name="rev" value="1279031296" /><input type="hidden" name="id" value="dhtmlxtree:event_onxle" /><input type="submit" value="Edit" class="button" title="onXLE Event" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/event_onxle.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onxle" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_onxle" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:event_onxle" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aevent_onxle&1279804933" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onxle" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___event_onxle.html | HTML | art | 7,819 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_constructor_object [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_constructor_object</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_constructor_object" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_constructor_object" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_constructor_object" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_constructor_object" class="breadcrumbs" title="dhtmlxtree:api_constructor_object">api_constructor_object</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<!-- TOC START -->
<div class="toc">
<div class="tocheader toctoggle" id="toc__header">Table of Contents</div>
<div id="toc__inside">
<ul class="toc">
<li class="clear">
<ul class="toc">
<li class="level2"><div class="li"><span class="li"><a href="#list_of_initialization_properties" class="toc">List of initialization properties</a></span></div>
<ul class="toc">
<li class="level3"><div class="li"><span class="li"><a href="#common_initialization_options" class="toc">Common initialization options</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#drag_and_drop" class="toc">Drag and Drop</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#extensions" class="toc">Extensions</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#events" class="toc">Events</a></span></div></li></ul>
</li></ul>
</li></ul>
</div>
</div>
<!-- TOC END -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href="index.html" class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h2><a name="list_of_initialization_properties" id="list_of_initialization_properties">List of initialization properties</a></h2>
<div class="level2">
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-125" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_constructor_object" /><input type="submit" value="Edit" class="button" title="List of initialization properties" /></div></form></div>
<h3><a name="common_initialization_options" id="common_initialization_options">Common initialization options</a></h3>
<div class="level3">
<ul>
<li class="level1"><div class="li"> parent - string or object, id of container, where tree will be initialized, <strong>mandatory</strong></div>
</li>
<li class="level1"><div class="li"> image_path - string, path to image folder, which will be used for icons in tree</div>
</li>
<li class="level1"><div class="li"> width - {string} width of tree, can be defined in pixels or in percents</div>
</li>
<li class="level1"><div class="li"> height - {string} height of tree, can be defined in pixels or in percents</div>
</li>
<li class="level1"><div class="li"> root_id - {string} id of virtual root item</div>
</li>
</ul>
<ul>
<li class="level1"><div class="li"> checkbox - {boolean}, show/hide checkboxes (all checkboxes in tree) ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablecheckboxes.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablecheckboxes">enableCheckBoxes</a> )</div>
</li>
<li class="level1"><div class="li"> checkbox_3_state - {boolean}, enable three state checkboxes ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablethreestatecheckboxes.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablethreestatecheckboxes">enableThreeStateCheckboxes</a> )</div>
</li>
<li class="level1"><div class="li"> context_menu - context menu object, enable context menu ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablecontextmenu.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablecontextmenu">enableContextMenu</a> )</div>
</li>
<li class="level1"><div class="li"> multiline - {boolean}, enable multi line items ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablemultilineitems.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultilineitems">enableMultiLineItems</a> )</div>
</li>
<li class="level1"><div class="li"> multiselect - {boolean}, enable multiselection ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablemultiselection.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablemultiselection">enableMultiselection</a> )</div>
</li>
<li class="level1"><div class="li"> editor - {boolean}, enable editing of item text ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableitemeditor.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableitemeditor">enableItemEditor</a> )</div>
</li>
<li class="level1"><div class="li"> hover - {boolean}, enable item highlighting (item text highlited on mouseover) ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablehighlighting.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablehighlighting">enableHighlighting</a> )</div>
</li>
<li class="level1"><div class="li"> smart_parsing - {boolean}, enable/disable smart <acronym title="Extensible Markup Language">XML</acronym> parsing mode (usefull for big, well structured <acronym title="Extensible Markup Language">XML</acronym>) ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablesmartxmlparsing.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablesmartxmlparsing">enableSmartXMLParsing</a> )</div>
</li>
<li class="level1"><div class="li"> xml - {string}, url of data xml file </div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="126-1743" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_constructor_object" /><input type="submit" value="Edit" class="button" title="Common initialization options" /></div></form></div>
<h3><a name="drag_and_drop" id="drag_and_drop">Drag and Drop</a></h3>
<div class="level3">
<ul>
<li class="level1"><div class="li"> drag - {boolean}, enable/disable drag-and-drop ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enabledraganddrop.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabledraganddrop">enableDragAndDrop</a> )</div>
</li>
<li class="level1"><div class="li"> drag_copy - {boolean}, enable drag without removing (copy instead of move) ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablemercydrag.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablemercydrag">enableMercyDrag</a> )</div>
</li>
<li class="level1"><div class="li"> drag_image - {boolean}, enable draging item image with item text ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableimagedrag.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableimagedrag">enableImageDrag</a> )</div>
</li>
<li class="level1"><div class="li"> drag_scroll - {boolean}, enable/disable auto scrolling while drag-and-drop ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enabledraganddropscrolling.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabledraganddropscrolling">enableDragAndDropScrolling</a> )</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="1744-2345" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_constructor_object" /><input type="submit" value="Edit" class="button" title="Drag and Drop" /></div></form></div>
<h3><a name="extensions" id="extensions">Extensions</a></h3>
<div class="level3">
<ul>
<li class="level1"><div class="li"> auto_save_selected - {boolean}, enable/disable autosaving selected node in cookie ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableautosavingselected.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableautosavingselected">enableAutoSavingSelected</a> )</div>
</li>
<li class="level1"><div class="li"> auto_tooltip - {boolean}, enable auto tooltips (node text as tooltip) ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableautotooltips.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableautotooltips">enableAutoTooltips</a> )</div>
</li>
<li class="level1"><div class="li"> checkbox_smart - {boolean}, enable smart checkboxes ,true by default (auto checking children and parents for 3-state checkboxes) ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablesmartcheckboxes.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablesmartcheckboxes">enableSmartCheckboxes</a> )</div>
</li>
<li class="level1"><div class="li"> distributed_parsing - {boolean}, enable distributed parsing of big tree (items loaded portion by portion with some timeouts) ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enabledistributedparsing.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabledistributedparsing">enableDistributedParsing</a> )</div>
</li>
<li class="level1"><div class="li"> images - {boolean}, enable tree images ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enabletreeimages.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabletreeimages">enableTreeImages</a> )</div>
</li>
<li class="level1"><div class="li"> image_fix - {boolean}, replace IMG tag with background images - solve problem with <acronym title="Internet Explorer">IE</acronym> image caching , not works for <acronym title="Internet Explorer 6">IE6</acronym> SP1 ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableieimagefix.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableieimagefix">enableIEImageFix</a> )</div>
</li>
<li class="level1"><div class="li"> lines - {boolean}, enable/disable tree lines (parent-child threads) ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enabletreelines.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabletreelines">enableTreeLines</a> )</div>
</li>
<li class="level1"><div class="li"> loading_item - {boolean}, enable/disable “Loading…” item ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableloadingitem.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableloadingitem">enableLoadingItem</a> )</div>
</li>
<li class="level1"><div class="li"> navigation - {boolean}, enable keyboard navigation in tree ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablekeyboardnavigation.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablekeyboardnavigation">enableKeyboardNavigation</a> )</div>
</li>
<li class="level1"><div class="li"> radio - {boolean}, replace checkboxes with radio buttons ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enableradiobuttons.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableradiobuttons">enableRadioButtons</a> )</div>
</li>
<li class="level1"><div class="li"> radio_single - {boolean}, replace checkboxes with radio buttons ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablesingleradiomode.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablesingleradiomode">enableSingleRadioMode</a> )</div>
</li>
<li class="level1"><div class="li"> rtl - {boolean}, enables Right-to-Left mode in tree ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablertl.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablertl">enableRTL</a> )</div>
</li>
<li class="level1"><div class="li"> search - {boolean}, enable search items by pressing keys (any item in tree should be focused/selected to make search work) ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablekeysearch.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablekeysearch">enableKeySearch</a> )</div>
</li>
<li class="level1"><div class="li"> smart_rendering - {boolean}, enables smart rendering mode (usefull for big trees with lots f items on each level) ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enablesmartrendering.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enablesmartrendering">enableSmartRendering</a> )</div>
</li>
<li class="level1"><div class="li"> text_icons - {boolean}, replace images with text signs ( <a href="dhtmlxtree___api_method_dhtmlxtreeobject_enabletextsigns.html" class="wikilink1" title="dhtmlxtree:api_method_dhtmlxtreeobject_enabletextsigns">enableTextSigns</a> )</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="2346-4767" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_constructor_object" /><input type="submit" value="Edit" class="button" title="Extensions" /></div></form></div>
<h3><a name="events" id="events">Events</a></h3>
<div class="level3">
<p>
any event can be assigned by using property equal to event name
</p>
<pre class="code javascript"> tree <span class="sy0">=</span> <span class="kw2">new</span> dhtmlXTreeObject<span class="br0">(</span><span class="br0">{</span>
parent<span class="sy0">:</span><span class="st0">"a_tree"</span><span class="sy0">,</span>
onClick<span class="sy0">:</span><span class="kw2">function</span><span class="br0">(</span><span class="br0">)</span><span class="br0">{</span>
<span class="kw3">alert</span><span class="br0">(</span><span class="st0">"I'm clicked"</span><span class="br0">)</span>;
<span class="br0">}</span>
<span class="br0">}</span><span class="br0">)</span>;</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="4768-" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_constructor_object" /><input type="submit" value="Edit" class="button" title="Events" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_constructor_object.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_constructor_object" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_constructor_object" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_constructor_object" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_constructor_object&1279804932" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_constructor_object" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_constructor_object.html | HTML | art | 20,708 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_changeitemid [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_changeitemid</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_changeitemid" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_changeitemid" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_changeitemid" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_changeitemid" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_changeitemid">api_method_dhtmlxtreeobject_changeitemid</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="changeitemid_itemid_newitemid" id="changeitemid_itemid_newitemid">changeItemId(itemId,newItemId)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
change item id
</p>
<ul>
<li class="level1"><div class="li"> itemId - old node id</div>
</li>
<li class="level1"><div class="li"> newItemId - new node id</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_changeitemid" /><input type="submit" value="Edit" class="button" title="changeItemId(itemId,newItemId)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_changeitemid.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_changeitemid" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_changeitemid" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_changeitemid" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_changeitemid&1279804922" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_changeitemid" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_changeitemid.html | HTML | art | 8,259 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_setserializationlevel [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_setserializationlevel</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setserializationlevel" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setserializationlevel" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setserializationlevel" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_setserializationlevel" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_setserializationlevel">api_method_dhtmlxtreeobject_setserializationlevel</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="setserializationlevel_userdata_fullxml_escapeentities_userdataascdata_dtd" id="setserializationlevel_userdata_fullxml_escapeentities_userdataascdata_dtd">setSerializationLevel(userData,fullXML,escapeEntities,userDataAsCData,DTD)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___pro_ed.gif" class="media" title="This method requires Professional Edition of the DHTMLX library" alt="This method requires Professional Edition of the DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_xw.js</em>
</p>
<p>
configure <acronym title="Extensible Markup Language">XML</acronym> serialization
</p>
<ul>
<li class="level1"><div class="li"> userData - enable/disable user data serialization</div>
</li>
<li class="level1"><div class="li"> fullXML - enable/disable full <acronym title="Extensible Markup Language">XML</acronym> serialization</div>
</li>
<li class="level1"><div class="li"> escapeEntities - convert tag brackets to related html entitites</div>
</li>
<li class="level1"><div class="li"> userDataAsCData - output user data in CDATA sections</div>
</li>
<li class="level1"><div class="li"> <acronym title="Document Type Definition">DTD</acronym> - if specified, then set as <acronym title="Extensible Markup Language">XML</acronym>'s <acronym title="Document Type Definition">DTD</acronym></div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setserializationlevel" /><input type="submit" value="Edit" class="button" title="setSerializationLevel(userData,fullXML,escapeEntities,userDataAsCData,DTD)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_setserializationlevel.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setserializationlevel" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setserializationlevel" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setserializationlevel" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_setserializationlevel&1279804925" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_setserializationlevel" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_setserializationlevel.html | HTML | art | 9,235 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_enableitemeditor [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_enableitemeditor</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableitemeditor" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableitemeditor" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableitemeditor" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_enableitemeditor" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_enableitemeditor">api_method_dhtmlxtreeobject_enableitemeditor</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="enableitemeditor_mode" id="enableitemeditor_mode">enableItemEditor(mode)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree_ed.js</em>
</p>
<p>
enable editing of item text
</p>
<ul>
<li class="level1"><div class="li"> mode - true/false</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031293" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableitemeditor" /><input type="submit" value="Edit" class="button" title="enableItemEditor(mode)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_enableitemeditor.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableitemeditor" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableitemeditor" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableitemeditor" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_enableitemeditor&1279804921" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_enableitemeditor" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_enableitemeditor.html | HTML | art | 8,228 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_getallcheckedbranches [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_getallcheckedbranches</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallcheckedbranches" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallcheckedbranches" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallcheckedbranches" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_getallcheckedbranches" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_getallcheckedbranches">api_method_dhtmlxtreeobject_getallcheckedbranches</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="getallcheckedbranches" id="getallcheckedbranches">getAllCheckedBranches()</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
return list of identificators of nodes with checked and third state checkboxes, separated by default delimiter
</p>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallcheckedbranches" /><input type="submit" value="Edit" class="button" title="getAllCheckedBranches()" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_getallcheckedbranches.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallcheckedbranches" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallcheckedbranches" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallcheckedbranches" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_getallcheckedbranches&1279804924" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_getallcheckedbranches" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_getallcheckedbranches.html | HTML | art | 8,305 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:api_method_dhtmlxtreeobject_insertnewnext [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:api_method_dhtmlxtreeobject_insertnewnext</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewnext" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewnext" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewnext" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:api_method_dhtmlxtreeobject_insertnewnext" class="breadcrumbs" title="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewnext">api_method_dhtmlxtreeobject_insertnewnext</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div><div class='arrow'></div><div class='backlink'><a href="dhtmlxtree___api_toc_alpha.html" class="wikilink1" title="dhtmlxtree:api_toc_alpha">API Methods</a></div></div>
</p>
<h3><a name="insertnewnext_itemid_newitemid_itemtext_itemactionhandler_image1_image2_image3_optionstr_children" id="insertnewnext_itemid_newitemid_itemtext_itemactionhandler_image1_image2_image3_optionstr_children">insertNewNext(itemId,newItemId,itemText,itemActionHandler,image1,image2,image3,optionStr,children)</a></h3>
<div class="level3">
<p>
<em>Required library edition:</em> <img src="common___any_ed.gif" class="media" title="This method works with any edition of DHTMLX library" alt="This method works with any edition of DHTMLX library" /><br/>
<em>Required library file: dhtmlxtree.js</em>
</p>
<p>
create new node next to specified
</p>
<ul>
<li class="level1"><div class="li"> itemId - node id</div>
</li>
<li class="level1"><div class="li"> newItemId - new node id</div>
</li>
<li class="level1"><div class="li"> itemText - new node text</div>
</li>
<li class="level1"><div class="li"> itemActionHandler - function fired on node select event (optional)</div>
</li>
<li class="level1"><div class="li"> image1 - image for node without children; (optional)</div>
</li>
<li class="level1"><div class="li"> image2 - image for closed node; (optional)</div>
</li>
<li class="level1"><div class="li"> image3 - image for opened node (optional)</div>
</li>
<li class="level1"><div class="li"> optionStr - options string (optional)</div>
</li>
<li class="level1"><div class="li"> children - node children flag (for dynamical trees) (optional)</div>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="79-" /><input type="hidden" name="rev" value="1279031294" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewnext" /><input type="submit" value="Edit" class="button" title="insertNewNext(itemId,newItemId,itemText,itemActionHandler,image1,image2,image3,optionStr,children)" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/api_method_dhtmlxtreeobject_insertnewnext.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewnext" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewnext" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewnext" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aapi_method_dhtmlxtreeobject_insertnewnext&1279804921" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:api_method_dhtmlxtreeobject_insertnewnext" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___api_method_dhtmlxtreeobject_insertnewnext.html | HTML | art | 9,228 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:events_handling [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:events_handling</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:events_handling" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:events_handling" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:events_handling" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:events_handling" class="breadcrumbs" title="dhtmlxtree:events_handling">events_handling</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<!-- TOC START -->
<div class="toc">
<div class="tocheader toctoggle" id="toc__header">Table of Contents</div>
<div id="toc__inside">
<ul class="toc">
<li class="clear">
<ul class="toc">
<li class="level2"><div class="li"><span class="li"><a href="#events_handling" class="toc">Events Handling</a></span></div>
<ul class="toc">
<li class="level3"><div class="li"><span class="li"><a href="#available_events" class="toc">Available Events</a></span></div></li>
<li class="level3"><div class="li"><span class="li"><a href="#attaching_removing_event_handlers" class="toc">Attaching/Removing Event Handlers</a></span></div></li></ul>
</li></ul>
</li></ul>
</div>
</div>
<!-- TOC END -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href="index.html" class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div></div>
</p>
<h2><a name="events_handling" id="events_handling">Events Handling</a></h2>
<div class="level2">
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="53-84" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:events_handling" /><input type="submit" value="Edit" class="button" title="Events Handling" /></div></form></div>
<h3><a name="available_events" id="available_events">Available Events</a></h3>
<div class="level3">
<p>
The following events are available in dhtmlxTree:
</p>
<ul>
<li class="level1"><div class="li"> Drag-and-Drop Events:</div>
<ul>
<li class="level2"><div class="li"> <a href="dhtmlxtree___event_onbeforedrag.html" class="wikilink1" title="dhtmlxtree:event_onbeforedrag">onBeforeDrag</a> - occurs when item's dragging starts (the item is selected and the mouse is moving);</div>
</li>
<li class="level2"><div class="li"> <a href="dhtmlxtree___event_ondrag.html" class="wikilink1" title="dhtmlxtree:event_ondrag">onDrag</a> - occurs when the item was dragged and dropped on some other item, but before item's moving is processed;</div>
</li>
<li class="level2"><div class="li"> <a href="dhtmlxtree___event_ondragin.html" class="wikilink1" title="dhtmlxtree:event_ondragin">onDragIn</a> - occurs when the item is dragged over some target the item can be dropped to;</div>
</li>
<li class="level2"><div class="li"> <a href="dhtmlxtree___event_ondrop.html" class="wikilink1" title="dhtmlxtree:event_ondrop">onDrop</a> - occurs when drag-and-drop had already been processed; also occurs when the nodes are moved programmatically;</div>
</li>
</ul>
</li>
<li class="level1"><div class="li"> Editing Events:</div>
<ul>
<li class="level2"><div class="li"> <a href="dhtmlxtree___event_onedit.html" class="wikilink1" title="dhtmlxtree:event_onedit">onEdit</a> - occurs on 4 different stages of edit process: before starting of editing (can be canceled), after starting of editing, before editor's closing (can be canceled), after editor's closing;</div>
</li>
<li class="level2"><div class="li"> <a href="dhtmlxtree___event_onbeforecheck.html" class="wikilink1" title="dhtmlxtree:event_onbeforecheck">onBeforeCheck</a> - occurs before an item is checked|unchecked;</div>
</li>
<li class="level2"><div class="li"> <a href="dhtmlxtree___event_oncheck.html" class="wikilink1" title="dhtmlxtree:event_oncheck">onCheck</a> - occurs immediately after an item in the tree was checked|unchecked;</div>
</li>
</ul>
</li>
<li class="level1"><div class="li"> Loading Events:</div>
<ul>
<li class="level2"><div class="li"> <a href="dhtmlxtree___event_onxls.html" class="wikilink1" title="dhtmlxtree:event_onxls">onXLS</a> - occurs when <acronym title="Extensible Markup Language">XML</acronym> parsing starts;</div>
</li>
<li class="level2"><div class="li"> <a href="dhtmlxtree___event_onxle.html" class="wikilink1" title="dhtmlxtree:event_onxle">onXLE</a> - occurs when <acronym title="Extensible Markup Language">XML</acronym> parsing is over, new items are already available in the tree;</div>
</li>
</ul>
</li>
<li class="level1"><div class="li"> Mouse Events:</div>
<ul>
<li class="level2"><div class="li"> <a href="dhtmlxtree___event_onmousein.html" class="wikilink1" title="dhtmlxtree:event_onmousein">onMouseIn</a> - occurs when the mouse pointer is hovered over an item;</div>
</li>
<li class="level2"><div class="li"> <a href="dhtmlxtree___event_onmouseout.html" class="wikilink1" title="dhtmlxtree:event_onmouseout">onMouseOut</a> - occurs when the mouse pointer is moved out of item's area;</div>
</li>
</ul>
</li>
<li class="level1"><div class="li"> Opening Events:</div>
<ul>
<li class="level2"><div class="li"> <a href="dhtmlxtree___event_onopenstart.html" class="wikilink1" title="dhtmlxtree:event_onopenstart">onOpenStart</a> - occurs right when an item in the tree starts to open, but before this item opens. This event is also available for “unclosable” nodes and nodes without open|close functionality - in that case result of the function will be ignored;</div>
</li>
<li class="level2"><div class="li"> <a href="dhtmlxtree___event_onopenend.html" class="wikilink1" title="dhtmlxtree:event_onopenend">onOpenEnd</a> - occurs right when an item in the tree has already become open. Event also raised for “unclosable” nodes and nodes without open/close functionality - in that case result of function will be ignored.</div>
</li>
<li class="level2"><div class="li"> <a href="dhtmlxtree___event_ondblclick.html" class="wikilink1" title="dhtmlxtree:event_ondblclick">onDblClick</a> - occurs right when a tree item was double clicked, but before default onDblClick functionality is processed;</div>
</li>
<li class="level2"><div class="li"> <a href="dhtmlxtree___event_onopendynamicend.html" class="wikilink1" title="dhtmlxtree:event_onopendynamicend">onOpenDynamicEnd</a> - occurs when openItemsDynamic() method loads and opens the required hierarchy of items;</div>
</li>
</ul>
</li>
<li class="level1"><div class="li"> Right Click Events</div>
<ul>
<li class="level2"><div class="li"> <a href="dhtmlxtree___event_onrightclick.html" class="wikilink1" title="dhtmlxtree:event_onrightclick">onRightClick</a>- occurs when the user clicks the right mouse button;</div>
</li>
</ul>
</li>
<li class="level1"><div class="li"> Selection Events</div>
<ul>
<li class="level2"><div class="li"> <a href="dhtmlxtree___event_onclick.html" class="wikilink1" title="dhtmlxtree:event_onclick">onClick</a> - occurs when the text part of a tree item was clicked, but after default onClick functionality was processed;</div>
</li>
<li class="level2"><div class="li"> <a href="dhtmlxtree___event_onselect.html" class="wikilink1" title="dhtmlxtree:event_onselect">onSelect</a> - occurs when the selection in the tree was changed.</div>
</li>
</ul>
</li>
</ul>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="85-2768" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:events_handling" /><input type="submit" value="Edit" class="button" title="Available Events" /></div></form></div>
<h3><a name="attaching_removing_event_handlers" id="attaching_removing_event_handlers">Attaching/Removing Event Handlers</a></h3>
<div class="level3">
<p>
The user can add any user-defined handler to available events. To do this he can use attachEvent() method with the following parameters:
</p>
<ul>
<li class="level1"><div class="li"> evName - name of the event;</div>
</li>
<li class="level1"><div class="li"> evHandler - user-defined event handler.</div>
</li>
</ul>
<pre class="code javascript"> tree.<span class="me1">attachEvent</span><span class="br0">(</span>evName<span class="sy0">,</span> evHandler<span class="br0">)</span>;
</pre>
<p>
Several handlers can be attached to one and the same event, and all of them will be executed.<br/>
Note: the names of the events are case-sensitive.
</p>
<p>
There is a simple way of removing an event-handler:
</p>
<pre class="code javascript"> tree.<span class="me1">detachEvent</span><span class="br0">(</span>id<span class="br0">)</span>; <span class="co1">// unique id of the event handler</span>
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="2769-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:events_handling" /><input type="submit" value="Edit" class="button" title="Attaching/Removing Event Handlers" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/events_handling.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:events_handling" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:events_handling" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:events_handling" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aevents_handling&1279804932" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:events_handling" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___events_handling.html | HTML | art | 15,404 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><link rel="stylesheet" href="../codebase/default.css" type="text/css" media="screen" title="no title" charset="utf-8"><title>
dhtmlxtree:event_onclick [DHX documentation]
</title></head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="header">
<a class="logo" href="http://dhtmlx.com" title="DHTMLX Home Page"></a>
<span class="tittle-dhtmlx">DHTMLX Docs & Samples Explorer</span>
<div class="search-field">
<form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form> </div>
<div class="buttons">
<a class="doc"></a>
<a title="DHTMLX Samples homepage" href="../samples.html" class="sample"/></a>
</div>
<!-- <div class="pagename">
[[<a href="#" title="Backlinks">dhtmlxtree:event_onclick</a>]]
</div>
<div class="logo">
<a href="/dhtmlx/docs/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]">DHX documentation</a> </div>
<div class="clearer"></div>-->
</div>
<!-- <div class="bar" id="bar__top">
<div class="bar-left" id="bar__topleft">
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onclick" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> <form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_onclick" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form> </div>
<div class="bar-right" id="bar__topright">
<form class="button btn_recent" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="dhtmlxtree:event_onclick" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [R]" /></div></form> <form action="/dhtmlx/docs/doku.php" accept-charset="utf-8" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" title="Search" /><button type="submit"></button><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>
</div>
<div class="clearer"></div>
</div> -->
<!-- <div class="breadcrumbs">
<span class="bchead">Trace:</span> <span class="bcsep">»</span> <span class="curid"><a href="/dhtmlx/docs/doku.php?id=dhtmlxtree:event_onclick" class="breadcrumbs" title="dhtmlxtree:event_onclick">event_onclick</a></span> </div>
-->
</div>
<div class="page">
<!-- wikipage start -->
<p>
<div class='backlinks'><div class='backlink last_backlink'><img src="icons___file.gif" class="media" alt="" /><a href="../index.html" class="wikilink1" title="start">Index</a></div><div class='arrow'></div><div class='backlink last_backlink'><img src="icons___tree.gif" class="media" alt="" /><a href=index.html class="wikilink1" title="dhtmlxtree:toc">dhtmlxtree</a></div></div>
</p>
<h2><a name="onclick_event" id="onclick_event">onClick Event</a></h2>
<div class="level2">
<p>
This event calls user-defined handlers (if there are any) and passes the following parameters:
</p>
<ul>
<li class="level1"><div class="li"> id - id of the clicked item;</div>
</li>
<li class="level1"><div class="li"> id - id of the previously selected item.</div>
</li>
</ul>
<pre class="code javascript"> tree.<span class="me1">attachEvent</span><span class="br0">(</span><span class="st0">"onClick"</span><span class="sy0">,</span> <span class="kw2">function</span><span class="br0">(</span>id<span class="sy0">,</span> id<span class="br0">)</span><span class="br0">{</span><span class="br0">}</span><span class="br0">)</span>;
</pre>
<p>
Here is the example of using onClick event in the tree containing items with link-like functionality:
</p>
<pre class="code javascript"> <span class="sy0"><</span>script<span class="sy0">></span>
tree.<span class="me1">attachEvent</span><span class="br0">(</span><span class="st0">"onClick"</span><span class="sy0">,</span><span class="kw2">function</span><span class="br0">(</span>id<span class="br0">)</span><span class="br0">{</span>
window.<span class="kw3">open</span><span class="br0">(</span>tree.<span class="me1">getUserData</span><span class="br0">(</span>id<span class="sy0">,</span><span class="st0">"href"</span><span class="br0">)</span><span class="br0">)</span>;
<span class="kw1">return</span> <span class="kw2">true</span>;
<span class="br0">}</span><span class="br0">)</span>;
<span class="sy0"></</span>script<span class="sy0">></span>
</pre>
</div>
<div class="secedit"><form class="button btn_secedit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="lines" value="54-" /><input type="hidden" name="rev" value="1279031295" /><input type="hidden" name="id" value="dhtmlxtree:event_onclick" /><input type="submit" value="Edit" class="button" title="onClick Event" /></div></form></div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!-- <div class="doc">
dhtmlxtree/event_onclick.txt · Last modified: 2010/07/13 17:28 (external edit) </div>
</div>-->
<!--<div class="bar" id="bar__bottom">-->
<!--<div class="bar-left" id="bar__bottomleft">-->
<!--<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onclick" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form>-->
<!--<form class="button btn_revs" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="dhtmlxtree:event_onclick" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [O]" /></div></form>-->
<!--</div>-->
<!--<div class="bar-right" id="bar__bottomright">-->
<!---->
<!---->
<!---->
<!---->
<!---->
<!--<form class="button btn_index" method="get" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="dhtmlxtree:event_onclick" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [X]" /></div></form>-->
<!--<a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a> -->
<!--</div>-->
<!--<div class="clearer"></div>-->
<!--</div>-->
</div>
</div>
<div class="footerinc">
</div>
<div class="no"><img src="/dhtmlx/docs/lib/exe/indexer.php?id=dhtmlxtree%3Aevent_onclick&1279804933" width="1" height="1" alt="" /></div>
<div class="footer">
<div class="footer-logo"></div>
<div class="copyright">Copyright © 1998-2009 DHTMLX LTD.<br />All rights reserved.</div>
<form class="button btn_edit" method="post" action="/dhtmlx/docs/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="dhtmlxtree:event_onclick" /><input type="submit" value="Edit this page" class="button" accesskey="e" title="Edit this page [E]" /></div></form> </div>
</body>
</html>
| zzh-simple-hr | ZJs/webapp/tree/dhtmlx/docsExplorer/dhtmlxtree/dhtmlxtree___event_onclick.html | HTML | art | 8,871 |