EasyUI Forum
May 16, 2024, 09:01:15 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: Remove icon for child nore tree  (Read 4797 times)
BinaryCode
Newbie
*
Posts: 38


View Profile
« on: December 29, 2018, 08:15:01 PM »

Helo
 
Howto remove icon tree for children node, but for parent still available...
Logged
don
Newbie
*
Posts: 28


View Profile
« Reply #1 on: September 20, 2019, 07:33:08 AM »

Helo
 
Howto remove icon tree for children node, but for parent still available...

I have the same requirement, any progress/solution to remove leaf node icons?
Logged
don
Newbie
*
Posts: 28


View Profile
« Reply #2 on: September 20, 2019, 07:49:41 AM »

Actually after reviewing the API, it appears this might be a bug?

Quote
onlyLeafCheck   boolean   Defines if to show the checkbox only before leaf node.

However this option shows checkbox only before parent nodes.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2264


View Profile Email
« Reply #3 on: September 20, 2019, 10:38:59 AM »

This is the example shows the checkbox on the leaf nodes.
http://code.reloado.com/ecurap3/edit#preview

The 'checkbox' function can also be used to custom the node checkbox.
https://www.jeasyui.com/demo/main/index.php?plugin=Tree&theme=material-teal&dir=ltr&pitem=Custom%20CheckBox%20Tree&sort=asc
Logged
don
Newbie
*
Posts: 28


View Profile
« Reply #4 on: September 23, 2019, 04:32:37 AM »

Jarry thanks for your reply, however I don't think you understood my question. Is there anyway to remove the default leaf node icon (sheet of paper icon)? I want to display check boxes only on the leaf (child) nodes....
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!