I have a bit of confusion about the Tree control usage. It seems I have
three different APIs that I can use for manipulating nodes and childrens.

>From what I have understood I can use:

1) Data structure method (for example ArrayCollection). I can manipulate the
source dataProvider and than send itemUpdated() events to the tree component

2) Data Descriptor (i.e. myTree.dataDescriptor). I can manipulate methods of
this property of the Tree

3) Tree methods. I can manipulate data accessing directly to widget methods.

Is it correct? What is the best practice to follow?

Thank you

Reply via email to