Hello.
I have defined some custom node attributes on my response but I would like them to be included in the on request for retrieving subnodes when expanding that node.
I think I must listen to the "beforeload" of the "treeloader" object, not the event from "treepane" object
I don't even know what event to listen from the tree in order to add a listener to the treeloader...
I confess I'm still struggling to understand all these event mechanisms...
Can someone help me to achieve this?
Thanks
ok...I think I found it.
After my tree call to constructor I can add a listener to the loader
I added:
config.loader.on('beforeload',this.addmycustomattributes,this);
Is this the correct way?