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 imple开发者_StackOverflow中文版ment it ?
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.
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.
精彩评论