CLIENT GUI Framework
[vnfsdk/refrepo.git] / openo-portal / portal-common / src / main / webapp / common / thirdparty / zTree / api / en / setting.check.chkDisabledInherit.html
1 <div class="apiDetail">\r
2 <div>\r
3         <h2><span>Boolean</span><span class="path">setting.check.</span>chkDisabledInherit</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>When the parent node's 'chkDisabled' attribute is true, set the child nodes automatically inherit the 'chkDisabled' attribute. It is valid when <span class="highlight_red">[setting.check.enable = true]</span></p>\r
9                         <p class="highlight_red">1. Only be used to initialize the nodes, easy batch operations. Please use the 'updateNode' method modify existing node.</p>\r
10                         <p>Default: false</p>\r
11                 </div>\r
12         </div>\r
13         <h3>Boolean Format</h3>\r
14         <div class="desc">\r
15         <p> true means: When add new child nodes, if parent node's 'chkDisabled' attribute is true, the child nodes automatically inherit the 'chkDisabled' attribute.</p>\r
16         <p> false means: When add new child nodes, the child nodes don't inherit the 'chkDisabled' attribute from parent node.</p>\r
17         </div>\r
18         <h3>Examples of setting</h3>\r
19         <h4>1.  When add new child nodes, the child nodes automatically inherit the 'chkDisabled' attribute from parent node.</h4>\r
20         <pre xmlns=""><code>var setting = {\r
21         check: {\r
22                 enable: true,\r
23                 chkDisabledInherit: true\r
24         }\r
25 };\r
26 ......</code></pre>\r
27 </div>\r
28 </div>