I've another dataset bound to an UltraWinTree that does not show sub-levels as it should. Its almost exactly the same structure as my previous recursive bound form (that works!) and I've checked that there are columns that have the 'IsChaptered' to true. I've double checked the naming of the columns sets to ensure that they match the relationship names in the dataset. I have no idea why its not displaying the full number of levels.
I've had to manually create the column sets as the auto generator skips relations for some reason!
I've a really simple example application that is available from http://www.smartdata.co.uk/downloads/20100127_RecursiveBind.zipThe example should create 3 project levels each with 1 or more tasks.If you could please point me in the right direction, it'd be really appreciated!Thanks again,Alex
Hi Alex,
aim123 said:I've had to manually create the column sets as the auto generator skips relations for some reason!
The automatic generation of columnsets does not skip relations. So it sounds to me like the fact that it's not picking up the relations while generating the columnset and also not displaying it in the tree is probably related. And it's probably a problem with the data source structure.
What is your data source supposed to look like? When I run your sample, I get this:
01 - Another Test
Projects
Tasks
Unknown
When I put a WinGrid on the form and bind it to the same DataSource you are using for the tree, I get the same thing (minus the Band Nodes).
So the tree is pretty clearly showing the data you are giving it. But I don't know what your data source is supposed to look like or what you feel is missing here.
Hi Mike,
Thanks for your feedback. There should be more project levels levels. In the example application you can see that the only levels that are displayed are the root level and its tasks, whereas there should be several more sub-project levels, each with associated tasks.
I've uploaded a screenshot of a similar form that works. It correctly displays the structure of this project. You can find this pic from...
http://www.smartdata.co.uk/downloads/project_levels.jpg
The columns will be different, but it gives you the idea of the expected structure.
I've checked the dataset contents and all the data is there.
With regards to the auto generator for column sets, this doesn't ever seem to work. Its almost as though it simply can't deal with more than a couple of relationships. There are 4 in this example.
If it were an issue with the DS relationships then my other form would not work either (but it does), as I've copied the structure and naming of relationsships.
Thanks again for the help mike!
Alex