May I suggest that you add a callback function to the parameter of the tree.openAllItemsDynamic method. Large trees take time to open completely, and it would be nice to be able to execute a function when the process has completed. Such a function could be used to inform the user that the tree is fully opened.
We plan to add such possibility to public API of component in next version. As for now you can use private inner event
// any custom code
Excellent. Works well.