I have treelist that have four level child nodes.
rootNode->1ChildNode.
1ChildNode->2ChildNode.
2ChildNode->3ChildNode.
I would like to provide image to each node of treelist. I set rootNode.ImageIndex = 0 and clientNode1.ImageIndex = 1 but it didn't work. Also, How can I bold or assign large font to 1ChildNode?
Can someone please let me know what I am missing?
thank you!
Refer the documentation of TreeListNode.ImageIndex and TreeListNode.StateImageIndex Property
Select Image source:
State Image source:
You just need to set Selected or State image list property. after that these properties work property. Or you can set image at TreeList.GetSelectImage and TreeList.GetStateImage event.