EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: BinaryCode on December 29, 2018, 08:15:01 PM



Title: Remove icon for child nore tree
Post by: BinaryCode on December 29, 2018, 08:15:01 PM
Helo
 
Howto remove icon tree for children node, but for parent still available...


Title: Re: Remove icon for child nore tree
Post by: don 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?


Title: Re: Remove icon for child nore tree
Post by: don 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.


Title: Re: Remove icon for child nore tree
Post by: jarry 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


Title: Re: Remove icon for child nore tree
Post by: don 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....