CLIENT GUI Framework
[vnfsdk/refrepo.git] / openo-portal / portal-common / src / main / webapp / common / thirdparty / zTree / api / en / treeNode.check_Child_State.html
1 <div class="apiDetail">\r
2 <div>\r
3         <h2><span>Number</span><span class="path">treeNode.</span>check_Child_State</h2>\r
4         <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>\r
5         <div class="desc">\r
6                 <p></p>\r
7                 <div class="longdesc">\r
8                         <p>Used to record the node's half-checked state about its all child nodes's checkbox or radio. It is valid when <span class="highlight_red">[setting.check.enable = true]</span></p>\r
9                         <p class="highlight_red">zTree v3.x provides treeNode.getCheckStatus () method to get an accurate the half-checked status.</p>\r
10                         <p class="highlight_red">Do not initialize or modify it, it is an internal argument.</p>\r
11                         <p>Default: true</p>\r
12                 </div>\r
13         </div>\r
14         <h3>Number Format</h3>\r
15         <div class="desc">\r
16         <p>Rules:</p>\r
17         <table width="100%" border="0" cellspacing="1" cellpadding="0">\r
18                 <thead>\r
19                         <tr><td colspan="4">setting.check.checkType = "checkbox"</td></tr>\r
20                         <tr><td>treeNode.check_Child_State</td><td>Checked Status Description</td></tr>\r
21                 </thead>\r
22                 <tbody>\r
23                         <tr><td>-1</td><td>Has no child nodes or all child nodes's 'nocheck' attribute is true.</td></tr>\r
24                         <tr><td>0</td><td>All of the child nodes has not been checked.</td></tr>\r
25                         <tr><td>1</td><td>Some of the child nodes has been checked.</td></tr>\r
26                         <tr><td>2</td><td>All of the child nodes has been checked.</td></tr>\r
27                 </tbody>\r
28         </table>\r
29         <br/>\r
30         <table width="100%" border="0" cellspacing="1" cellpadding="0">\r
31                 <thead>\r
32                         <tr><td colspan="4">setting.check.checkType = "radio"</td></tr>\r
33                         <tr><td>treeNode.check_Child_State</td><td>Checked Status Description</td></tr>\r
34                 </thead>\r
35                 <tbody>\r
36                         <tr><td>-1</td><td>Has no child nodes or all child nodes's 'nocheck' attribute is true.</td></tr>\r
37                         <tr><td>0</td><td>All of the child nodes has not been checked.</td></tr>\r
38                         <tr><td>2</td><td>Some of the child nodes has been checked.</td></tr>\r
39                 </tbody>\r
40         </table>\r
41         </div>\r
42 </div>\r
43 </div>