EasyUI Forum
May 04, 2024, 09:46:39 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: Treegrid: How to suppress the icons display  (Read 10903 times)
alastairwalker
Newbie
*
Posts: 14


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


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


View Profile Email
« Reply #2 on: August 21, 2014, 11:19:44 PM »

That's great! Many thanks for the guidance!

Alastair
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!