Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
Draw the tree only one time
posted

Hi,

I have a problem with the XamDataTree.

I have an editor to modify my Entity propreties where i can choose the Parent element in a XamDataTree. But when i choose an other parent, my tree is modified automatically, it moves my current entity on it new parent.

I don't want the DataTree change for different reasons. So how can i do that ?

Thanks a lot for response.

Cedric

Parents
No Data
Reply
  • 5595
    posted

    Hi,

    I don't think that is possible, because the XamDataTree is a data bound control and always reflect the structure of its data source. So it is also not recommended to do that in order to ensure the correct functioning of the control.

    Maybe you should try building a custom data source object which does not change when you change the parent in the Entity and implement a logic which refreshes the data source when you need to.

     

    HTH,

Children