Reputation: 2783
I am using treelist.OptionsView.ShowCheckBoxes = true; but that shows checkbox on all nodes. I want only child nodes to show CheckBox and not parent node. Any way to implement it ?
Upvotes: 1
Views: 3293
Reputation: 11376
This can be done by using the CustomDrawNodeCheckBox event. The Hiding parent node checkboxes in new treelist checkbox feature shows how this can be implemented.
Upvotes: 1
Reputation: 6805
I don't think it is possible. But you can use the CustomDrawCaption event to hide the checkbox on the node you don't want to show it.
Upvotes: 0