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
15
ultratree, list of dataset
posted

Hi,

I need to bind the ultratree with a list of datasets containing parent and child tables related with a DataRelation in the dataset. But in doing so, only the last dataset is drawn as a tree and the rests are just gone.

Secondly, I tried iterating on datasets in the list and binding them to individual nodes in the tree, which is working fine, but the problem with this approach is that the node requires a string to display as header necessarilly, which is not needed in my case. I want my ultratree to have rootnodes as the parent tables themselves with one expand indicator, expanding into the child node. But instead, I am getting three levels:-

- Node0

      -parent table1

             - child table1 

- Node1

      -parent table2

             - child table2

whereas I wani it in the structure:-

-parent table1

             - child table1

-parent table2

             - child table2

Please assist.

Parents
  • 28950
    Verified Answer
    Offline posted

    Hello Shaurya,

    My team and I have done an initial review of the requirement you are looking to achieve, and I believe we will need a little more information on exactly what you are trying to do in this case. It sounds like you have a List<DataSet> that you are trying to bind the UltraTree to, but the “diagram” that you have provided is confusing me a little bit.

    In the case of the diagram(s) that you have provided, what does “parent table 1” and “parent table 2” represent in this case? Is this the first and second row of a single parent table, or are these two separate tables? If you are looking to have rows from two separate tables be concurrent siblings, I do not believe this requirement is achievable, but it will be helpful if you can please clarify this.

    Additionally, if you have an isolated sample project that you can attach that shows what you are trying to do in this case, that may be very helpful as well.

    Please let me know if you have any other questions or concerns on this matter.

Reply Children
No Data