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
285
xamDataTree expand icon
posted

I am binding my hierarchical data to the xamDataTree and trying to implement the load on demand functionatlity, where child items are loaded once the parent is expanded. But if I only bind the parent items to the tree i am not able to see any expand icon. My scenerio is that i would only know the child once parents are expanded. So I wanted to know is there any ways in which I can show the expand icon no matter if there are any child items or not, and then when the parent is expanded depending on the child items count the node is expanded.

Parents
No Data
Reply
  • 6759
    Offline posted

    Hi MirangParikh,

    as I answered you other post you should check this forum post out. Basically you need to put at least one object in your collections - so the expansion indicator to be shown. Then you hook up to the NodeExpansionChanged event and if the node is being expanded you clear the the collection and load your data.

    HTH

Children
No Data