PDA

View Full Version : Can Treenode has clickable objects ?



ogur-elena
6 Feb 2010, 12:55 PM
Hi. I need to do that Treenode will be shown with buttons or other clickable objects (add, edit, delete) near it. Something like that

- node1 [add] [edit] [delete]
| |
| node2 [add] [edit] [delete]
| |
| node3 [add] [edit] [delete]
|
- [add]

Have somebody idea how may I do it? TreeGrid don't approach. In treegrid the buttons is in separate column, not just near the node.

MiamiCoder
6 Feb 2010, 5:17 PM
An approach would be to extend the TreeNodeUI Class an use such extension as the uiProvider of your tree nodes.

ogur-elena
7 Feb 2010, 2:10 AM
Thanks for idea.