4
hao
2025-04-16 c5fb1fbcbb2bf4d511773d348f9ef625855c61fc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<div class="apiDetail">
<div>
    <h2><span>Number</span><span class="path">treeNode.</span>check_Child_State</h2>
    <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.excheck</span> js ]</span></h3>
    <div class="desc">
        <p></p>
        <div class="longdesc">
            <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>
            <p class="highlight_red">zTree v3.x provides treeNode.getCheckStatus () method to get an accurate the half-checked status.</p>
            <p class="highlight_red">Do not initialize or modify it, it is an internal argument.</p>
            <p>Default: true</p>
        </div>
    </div>
    <h3>Number Format</h3>
    <div class="desc">
    <p>Rules:</p>
    <table width="100%" border="0" cellspacing="1" cellpadding="0">
        <thead>
            <tr><td colspan="4">setting.check.checkType = "checkbox"</td></tr>
            <tr><td>treeNode.check_Child_State</td><td>Checked Status Description</td></tr>
        </thead>
        <tbody>
            <tr><td>-1</td><td>Has no child nodes or all child nodes's 'nocheck' attribute is true.</td></tr>
            <tr><td>0</td><td>All of the child nodes has not been checked.</td></tr>
            <tr><td>1</td><td>Some of the child nodes has been checked.</td></tr>
            <tr><td>2</td><td>All of the child nodes has been checked.</td></tr>
        </tbody>
    </table>
    <br/>
    <table width="100%" border="0" cellspacing="1" cellpadding="0">
        <thead>
            <tr><td colspan="4">setting.check.checkType = "radio"</td></tr>
            <tr><td>treeNode.check_Child_State</td><td>Checked Status Description</td></tr>
        </thead>
        <tbody>
            <tr><td>-1</td><td>Has no child nodes or all child nodes's 'nocheck' attribute is true.</td></tr>
            <tr><td>0</td><td>All of the child nodes has not been checked.</td></tr>
            <tr><td>2</td><td>Some of the child nodes has been checked.</td></tr>
        </tbody>
    </table>
    </div>
</div>
</div>