Simple question:
I have an UltraTreeNode called treeNode to an existing UltraTree. I am calling:
BindingList<DspCategoryItem> coll = new BindingList<DspCategoryItem>();
// code to popule the coll
treeNode.Nodes.SetDataBinding(coll, string.Empty);
This collection of objects are leaf nodes in the tree. What must be done so the expander [+] on all these leave nodes are never displayed?
Sam
Set UltraTree.Override.ShowExpansionIndicator to 'CheckOnDisplay'.
for some reason when I set that on the whole tree, it do not work, but when I set it on the node that is having its databinding set, all works well:
treeNode.Nodes.SetDataBinding(coll, string.Empty); treeNode.Nodes.Override.ShowExpansionIndicator = ShowExpansionIndicator.Never;
Thank you, the secret was ShowExpansionIndicator.