From 21d72c4a80fe2937d0c4ddd20624b27adbcd989b Mon Sep 17 00:00:00 2001 From: lizi00164331 Date: Mon, 7 Aug 2017 11:39:39 +0800 Subject: Upload the ESR GUI seed code Issue-ID: AAI-68 Change-Id: Ia50ce0570c2fabecd77199d4e8454f56fe587c4e Signed-off-by: lizi00164331 --- .../zTree/api/en/treeNode.getCheckStatus.html | 63 ++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 common/src/main/webapp/thirdparty/zTree/api/en/treeNode.getCheckStatus.html (limited to 'common/src/main/webapp/thirdparty/zTree/api/en/treeNode.getCheckStatus.html') diff --git a/common/src/main/webapp/thirdparty/zTree/api/en/treeNode.getCheckStatus.html b/common/src/main/webapp/thirdparty/zTree/api/en/treeNode.getCheckStatus.html new file mode 100644 index 0000000..3c9a2e6 --- /dev/null +++ b/common/src/main/webapp/thirdparty/zTree/api/en/treeNode.getCheckStatus.html @@ -0,0 +1,63 @@ +
+
+

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.checkedtreeNode.check_Child_StatetreeNode.halfCheck half
--truetrue
 
true-1falsefalse
true0falsetrue
true1falsetrue
true2falsefalse
 
false-1falsefalse
false0falsefalse
false1falsetrue
false2falsetrue
+
+ + + + + + + + + + + + + + + + +
setting.check.checkType = "radio"
treeNode.checkedtreeNode.check_Child_StatetreeNode.halfCheck half
--truetrue
 
true-1falsefalse
true0falsefalse
true2falsetrue
 
false-1falsefalse
false0falsefalse
false2falsetrue
+
+

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();
+
+
+
\ No newline at end of file -- cgit 1.2.3-korg