tree.getAllSubItems with

Is there a way to call getAllSubItems when using XML autoloading?
It doesn’t seem to return anything in my tests.

I see there is a method called openAllItemsDynamic, so I was hoping a getAllSubItemsDynamic might exist!

(I already have an onXLE event registered on this tree, which is used during tree navigation. However I also need to recurse down the a selected branch when the user presses a particular button.)

Can anyone help?

Tree does not have getAllSubItemsDynamic method. You can send request to the server to get required items (i.e.using dhtmlxAjax).