EasyUI Forum
March 28, 2024, 11:50:35 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Tree and Icons  (Read 4738 times)
sky-t
Full Member
***
Posts: 145


View Profile
« 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


Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!