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
2430
When I try to use columnsets without a datasource nothing shows up
posted

I can get the grid to show up with a datasource or if I use columns without columnsets (I can post an example of this if you want).  So there are various methods of displaying a tree grid and they work fine. 

I was trying to freehand develop the grid and I know there are nodes in the grid but just no nodes showing up on the screen.  I assume what I am doing is valid but nothing is showing up.  Is using a columnset a requirement to using a datasource?  Need some information as to what is wrong.

TestTree.zip
Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Hi,

    In order to apply a ColumnSet to each individual node like you are doing here, you have to set the ViewStyle to FreeForm.

    But please note that this is probably not the most efficient way to do things. You should only do this if you have nodes within the same collection that have to use different ColumnSets. If all of the nodes within the same collection or the same level are going to have the same columns, you should be applying the ColumnSets at a higher level, like on the Nodes.Override or the NodeLevelOverride. And in that case, you would use a ViewStyle of Grid.

Children
No Data