By the way also demonstrates how to use the 'checkNode' method triggers 'beforeCheck / onCheck' callback, Try:
Whether trigger the callback when execution checkNode() method.
[ check ]
[ uncheck ]
How to use 'zTreeObj.checkNode' method, please see the API documentation.
beforeCheck / onCheck log: