EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 12, 2024, 11:43:19 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Tree and Icons
Pages: [
1
]
« previous
next »
Print
Author
Topic: Tree and Icons (Read 4776 times)
sky-t
Full Member
Posts: 145
Tree and Icons
«
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
Re: Tree and Icons
«
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
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...