EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: sky-t on February 14, 2017, 05:26:31 AM



Title: Tree and Icons
Post by: sky-t on February 14, 2017, 05:26:31 AM
Hi there,

is there a possibility to have 2 icons for each item in tree?
And is there a way to use images for icons?


Thanks a lot




Title: Re: Tree and Icons
Post by: stworthy on February 14, 2017, 07:49:14 AM
You can define the 'formatter' function to custom the node text. Please look at this example http://www.jeasyui.com/demo/main/index.php?plugin=Tree&theme=default&dir=ltr&pitem=Formatting%20Tree%20Nodes