## Function()treeNode.getCheckStatus

### Overview[ depends on jquery.ztree.excheck js ]

Get the node's half-checked status of checkbox or radio. It is valid when [setting.check.enable = true]

Do not initialize or modify it, it is created by the zTree.

### Function Parameter Descriptions

#### ReturnJSON

    {
    	checked: true, //As same as 'treeNode.checked'
    	half: true  //Rule the table below
    }

setting.check.checkType = "checkbox"
treeNode.checked | treeNode.check_Child_State | treeNode.halfCheck | half
- | - | true | true
true | -1 | false | false
true | 0 | false | true
true | 1 | false | true
true | 2 | false | false
false | -1 | false | false
false | 0 | false | false
false | 1 | false | true
false | 2 | false | true

setting.check.checkType = "radio"
treeNode.checked | treeNode.check_Child_State | treeNode.halfCheck | half
- | - | true | true
true | -1 | false | false
true | 0 | false | false
true | 2 | false | true
false | -1 | false | false
false | 0 | false | false
false | 2 | false | true

### Examples of treeNode

#### 1. Get the first root node's half-checked status

    var treeObj = $.fn.zTree.getZTreeObj("tree");
    var halfCheck = treeObj.getNodes()[0].getCheckStatus();