We want to have checkboxes only on some nodes (leafs). All other nodes (that are parents) should be drawn without checkboxes at all.
Can it be done without owner-drawing all nodes ?
ADAdministrator Syncfusion Team January 5, 2004 05:30 AM
Here is a code snippet that demonstrates how you can show checkboxes for only the first (node 0) below the parent node in a TreeViewAdv control in Essential Tools 2.0:
//Show Checkbox only for the first node below the parent node(s)
int i = 0;
while (i < this.treeViewAdv1.Nodes.Count)
this.treeViewAdv1.Nodes[i].Nodes.ShowCheckBox = true;
I hope this gives you an idea to do what you are looking for.
AAAlexander ArlievskyJanuary 5, 2004 08:10 AM
Was version 2.0 finally released or your example uses beta ? Can it be done on 1.6 ?