Hi,
If i like to format the cell appearance when there is a condition, how can i do that?
Example:
Set the nodes text to bold when the Data.IsHeader = true
Node1(IsHeader)
ChildNode (IsHeader)
ChildNode
Node2
Node3 (IsHeader)
it's working. Thanks mike !
You can use the ListObject property of the node to retrieve the underlying data object from the data source that the node represents.
How can i retrieve the data which bound to the node, instead of i getting the cells value. Because the property value (e.g IsHeader) will not be bind to the node and won't visible to the user.
If your tree is bound, then the easiest thing to do would be to examine the node and it's data in the InitializeDataNode event.
If it's not bound, then you can set the appearance on the node when you add it to the tree.