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/setting.check.chkboxType.html | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 common/src/main/webapp/thirdparty/zTree/api/en/setting.check.chkboxType.html (limited to 'common/src/main/webapp/thirdparty/zTree/api/en/setting.check.chkboxType.html') diff --git a/common/src/main/webapp/thirdparty/zTree/api/en/setting.check.chkboxType.html b/common/src/main/webapp/thirdparty/zTree/api/en/setting.check.chkboxType.html new file mode 100644 index 0000000..5cecc9e --- /dev/null +++ b/common/src/main/webapp/thirdparty/zTree/api/en/setting.check.chkboxType.html @@ -0,0 +1,31 @@ +
+
+

JSONsetting.check.chkboxType

+

Overview[ depends on jquery.ztree.excheck js ]

+
+

+
+

When one node is checked or unchecked, control its parent node and its child node auto checked or unchecked. It is valid when [setting.check.enable = true & setting.check.chkStyle = "checkbox"]

+

Default: { "Y": "ps", "N": "ps" }

+
+
+

JSON Format

+
+

"Y" attribute use to set auto check after checkbox was checked. +
"N" attribute use to set auto uncheck after checkbox was unchecked. +
If value has "p", so parent nodes will be checked or unchecked. +
If value has "s", so child nodes will be checked or unchecked.

+

Please note that letter case, do not change.

+
+

Examples of setting

+

1. If check the node, so only auto check parent nodes; If uncheck the node, so only auto uncheck child nodes;

+
var setting = {
+	check: {
+		enable: true,
+		chkStyle: "checkbox",
+		chkboxType: { "Y": "p", "N": "s" }
+	}
+};
+......
+
+
\ No newline at end of file -- cgit 1.2.3-korg