According to the node data attribute, search the nodes which exactly matches, and get the JSON objects collection of nodes.
Please use zTree object to executing the method.
The name of attribute which need to exactly match
The value which need to exactly match, can be any type, please ensure its type consistent with the attribute values.
The search range, you can search node from a parent node's child nodes.
If this parameter is omitted, zTree will search node from all nodes.
The JSON data objects collection of the nodes which be searched.
If search none node, return [ ].
var treeObj = $.fn.zTree.getZTreeObj("tree");
var nodes = treeObj.getNodesByParam("name", "test", null);