EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 14, 2024, 06:50:38 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
>
General Discussion
>
Treegrid: How to suppress the icons display
Pages: [
1
]
« previous
next »
Print
Author
Topic: Treegrid: How to suppress the icons display (Read 10922 times)
alastairwalker
Newbie
Posts: 14
Treegrid: How to suppress the icons display
«
on:
August 08, 2014, 10:15:07 PM »
For the application I have in mind I need to suppress the icons that are currently displayed. For example, the Folders (Open, Closed) and the Document icon, need to be suppressed.
I have searched the forum posts and the Documentation, but it is not clear how to do this.
Any advice will be really appreciated!
Alastair Walker
Logged
tomhj
Newbie
Posts: 40
Re: Treegrid: How to suppress the icons display
«
Reply #1 on:
August 21, 2014, 09:55:29 PM »
In my app, I customize the icons to display something more appropriate for my app. To do this, provide an "iconCls" value for each node/row in your tree.
The iconCls contains the CSS class name that defines the icon like "icon-pdf" and this CSS style:
.icon-pdf { background:url('images/pdf.png') no-repeat; }
Logged
alastairwalker
Newbie
Posts: 14
Re: Treegrid: How to suppress the icons display
«
Reply #2 on:
August 21, 2014, 11:19:44 PM »
That's great! Many thanks for the guidance!
Alastair
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...