EasyUI please click on the parent node when all the children are in the selected state, click on the child nodes when all the parent nodes are in the selection state, how to do, Baidu find the wrong ah, will not use

I just want to select the child node when clicking on the parent node. Of course, if there are no child nodes, select the current one directly, and choose which one. When a child node is clicked, its parent node is selected.
this should be very easy for the elder brother of the meeting, but this is the first time I have come into contact with easyUI. I have no idea. I have no idea. I can"t write when I read the document. Search Baidu, but it"s not to your taste. It didn"t come out all afternoon. So please. Can I have a look? only the first one can.

Mar.10,2021

easy ui has already achieved this effect, hasn't it?
do you want to imitate its own implementation?

  • The js front-end page reported an error

    as shown in the picture, I have no problem entering this login page before, and I didn t report an error. Then, after I use shiro at the back end of java, I do not have the permission to skip to the login page by default and report the above error. Th...

    Mar.16,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e44ad4-44ac1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e44ad4-44ac1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?