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
140
UltraTree databinding question
posted

I have 2 questions actually:

1. When i have a tree that has Overrides.NodeStyle set to NodeStyle.Checkbox is it possible to databind the checkbox? for instance if the datasource were to have a checkstate property...

2. If i am populating the tree nodes using databinding to a custom object... for instance MyNode class that contains a collection of MyNodes (Which are not related to infragistic classes at all). How can i get the MyNode object populated into the Tag property of the treenode.

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    1. No. You would need to add a CheckBox column into the tree in order to have a bound checkbox.

    2. If you want to get the MyNode object from a particular tree node, you would use the ListObject property of the node. Does that answer your question? 

Children
No Data