Gettin error in openItemsDynamic()

i m using function openItemsDynamic() but i m getting error every time when page is loading. error is:-

temp is null
if (temp.XMLload===0)

that.callEvent is not a function
that.callEvent(“onOpenDynamicEnd”,[]);

help me on that how to open tree dynamically so that my code will run properly…

Unfortunately issue can’t be reconstructed locally.

If issue still occurs for you - please provide any kind of sample or demo link where it can be reconstructed.