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
1833
Another recursive bind issue
posted

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.zip

The 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

Parents
  • 469350
    Suggested Answer
    Offline posted

    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. 

Reply Children