EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
November 20, 2025, 04:42:59 AM
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
>
Auto Icons in tree/treegrid
Pages: [
1
]
« previous
next »
Print
Author
Topic: Auto Icons in tree/treegrid (Read 572 times)
jega
Full Member
Posts: 227
Auto Icons in tree/treegrid
«
on:
November 02, 2025, 10:37:07 AM »
Hi.
Want to use the aicon on a tree/treegrid, as on buttons etc.
data.json
[
{
"id": 1,
"text": "Text 1",
"iconCls": "aicontest-testicon1",
"children": [
{
"id": 2,
"text": "Text",
"iconCls": "aicontest-testicon2"
}
]
}
]
Then the treenodes just have the default icons
But if i create 2 buttons, they get the test1 and test2 icons
<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'aicontest-testicon1',width:80">Test1</a>
<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'aicontest-testicon2',width:80">Test2</a>
AND then the tree nodes also get the test1 and test2 icons. Like something not loading.
Need a quick fix if possible.
Regards Jesper
«
Last Edit: November 02, 2025, 12:10:38 PM by jega
»
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...