|
Title: How to specify success function for loader Post by: zolotoy on July 28, 2015, 08:53:54 AM I am trying to adapt the following example:
http://jsfiddle.net/dvAcu/ My goal is to load data when a node is expanded. How would I return data back to loader's success function if I am getting data into a callback? I wrote something like this for testing: Code: loader:function(param,success,error){Initially data is loaded because param.id does not exist. When I click on a node I am getting into scope.assetChildren function but returning data from it is not working. I dont see it and the node that's been expanded stays closed. Please share some ideas. Thanks |