Statistics Checkbox is Checked
[ File Path: excheck/checkbox_count.html ]
1, Explanation of getChangeCheckedNodes / getCheckedNodes
How to use zTreeObj.getChangeCheckedNodes / getCheckedNodes method, please see the API documentation.
Check the checkbox, observe the number of changes:
Total check node:
Total uncheck node:
Modify the state of checkbox:
Compared with zTree initialization
Compared with the last check
Total change the checkbox state of node:
2, Explanation of setting
Same as 'Checkbox Operation'
3, Explanation of treeNode
Same as 'Checkbox Operation'