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

BooleantreeNode.checked

+

Overview[ depends on jquery.ztree.excheck js ]

+
+

+
+

The checked status about node's checkbox or radio. It is valid when [setting.check.enable = true & treeNode.nocheck = false]

+

1. If change the 'checked' to other attribute, please set the 'setting.data.key.checked' attribute.

+

2. If you create node data, and set 'checked' attribute to true, zTree will check this node's checkbox or radio when zTree is initialized.

+

3. Use the treeObj.checkNode or checkAllNodes or updateNode method, you can check or uncheck the node. Please see the API about these methods.

+

4. zTree support identification string 'true' & 'false'.

+

Default: false

+
+
+

Boolean Format

+
+

true means: check the checkbox or radio when zTree is initialized.

+

false means: uncheck the checkbox or radio when zTree is initialized.

+
+

Examples of treeNode

+

1. check the checkbox when zTree is initialized

+
var nodes = [
+{ "id":1, "name":"test1", checked:true },
+{ "id":2, "name":"test2", checked:true }
+]
+

2. Get the checked status of the first root node

+
var treeObj = $.fn.zTree.getZTreeObj("tree");
+var checked = treeObj.getNodes()[0].checked;
+
+
+
\ No newline at end of file -- cgit 1.2.3-korg