Avatar

Level 1

Hi gays,

I am trying to bind tree component throuth webservice method and i had set <dataprovidor> to tree control ,but only Root nodes are binded.

Now i want to add child nodes to tree ,but i have no idea for it.

now i using:--

<mx:Tree

x="10" y="10" height="90%" width="70%" dataProvider="{wsImthePM.getOperation('GetAllTasksByProject').lastResult};" id="trprjtask" labelField="TaskName"

>

</mx:Tree>

please solve my problem.