Hi
Using Apex 20.1
I have an apex tree region and I need to get it to expand all nodes on page load.
I have tried using the following but get the error shown
$('#myTree').treeView("expandAll");
Uncaught Error: cannot call methods on treeView prior to initialization; attempted to call method 'expandAll'
This is the first time I have really used the tree region so have not had to do this before, sure it must be easy.